Adding users when using SQL server
Debbie140
Member Posts: 52
I have a problem where when adding a user to a SQL based version of navision I get the error 'can not add user, databases have not been synchronised, user is not in SQL server' .This is known to happen after a DB has been restored and the login is not in the security section but this is a new user beig added after the DB has been sychronised. You could possibly get around it by adding the login to SQL first bbut I didn't think this was the way navision worked I thought you added them into navision and it dealt with the SQL side for you. I have tested this on other navision implementaions and appear to get the same.
Anyone got any thoughts?
Anyone got any thoughts?
0
Comments
-
I don't know about that. Once upon a time I got a message saying 'the user does not exist on SQL Server', so I added it myself and assumed that was how it works. It is the way I add users now and I never looked back, and I haven't had a single user problem since.0
-
This happens for database logins. The database login has to exist on SQL server, and if so, the sync. will work (it will give the user access to the database).0
-
Yes, users must exist in the SQL as well, because upon synchronization, user rights in NAV will be configured at database level as well, which is handy if you use external reporting tools (or just views in Excel or whatever).
I think the right way to go is to write an SQL script that checks users in the NAV User table and adds the ones that do not exist in the SQL to the SQL.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
