Options

Synchronize Logins Delete's Users from Database

ronpatrickronpatrick Member Posts: 4
edited 2010-06-06 in SQL General
Dynamics NAV 2009

I have created a new database on a new server.
I restored a ful FBK from the original server.
I deleted all the users from the database.
I re-configure users logins to the new database.
I can only login as sa and when I synchronize all logins my users are dropped from the database.

Any ideas.

Comments

  • Options
    krikikriki Member, Moderator Posts: 9,090
    I suppose you are working on SQL.
    In that case, it is better to change the security model to Standard and not Enhanced. With Standard you don't need to synchronize.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    kinekine Member Posts: 12,562
    You need to have the users defined in NAV else all permissions granted only through SQL to some account which is not defined in NAV will be lost when sync in NAV is triggered.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    strykstryk Member Posts: 645
    With "Standard" Security Model the "Synchronization" process in NAV will drop all SQL Databases Users which are not defined within NAV as "Database Login" or "Windows Login".
    In this case you just have to define the NAV site logins (you don't even have to assign NAV roles).
    Jörg A. Stryk (MVP - Dynamics NAV)
    NAV/SQL Performance Optimization & Troubleshooting
    STRYK System Improvement
    The Blog - The Book - The Tool
Sign In or Register to comment.