SQL Server 2005 + Dynamics NAV 5.0 User logins
taher.bha
Member Posts: 48
Hi All,
Am having problems when trying to add Database users to Dynamics NAV 5.0
Am getting the followinf message when running the syncgronisation from navision :
'The SQL Server login USER1 does not exist on the MYSERVER server.'
I have been looking for similar issues for hours with no success.
The following link is giving some answers for sql server 2K
viewtopic.php?t=22638&highlight=sql+server+authentication
But I am using SQL SERVER 2005 and NAV 5.0.
In a test machine running both Nav 5.0 and SQl 2005, all what i have to to do is adding the login using SQL Server Management Studio and then run the synchronisation from Dynamics NAV. That Works.
But for the current Implentation things seem to be different. It seems to be a matter of permissions. I event tried to give sysadmin role to USER1
Can anyone give me the steps necessary to do that, am i missing some thing ?
Thx for any advice,
Am having problems when trying to add Database users to Dynamics NAV 5.0
Am getting the followinf message when running the syncgronisation from navision :
'The SQL Server login USER1 does not exist on the MYSERVER server.'
I have been looking for similar issues for hours with no success.
The following link is giving some answers for sql server 2K
viewtopic.php?t=22638&highlight=sql+server+authentication
But I am using SQL SERVER 2005 and NAV 5.0.
In a test machine running both Nav 5.0 and SQl 2005, all what i have to to do is adding the login using SQL Server Management Studio and then run the synchronisation from Dynamics NAV. That Works.
But for the current Implentation things seem to be different. It seems to be a matter of permissions. I event tried to give sysadmin role to USER1
Can anyone give me the steps necessary to do that, am i missing some thing ?
Thx for any advice,
0
Answers
-
Did you install the extended procedures on your master database? 2005 does not do that automatically.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
All depends on permissions of user, under who you are adding the users into the NAV. Is this sysadmin? Or which permissions on SQL has this account used to add the users? Have you created the users first on SQL server before you add them in NAV?0
-
Hi all and tx for your prompt replies.
As explained earlier, I am trying to use Database Logins not Windows Logins. I think that the extended stored procedures are only required for the Windows logins. I made the verification, both xp_ndo_enumusergroups and xp_ndo_enumusersids are correctly installed and Windows Logins can login correctly to Nav. That's a solution but in my case, the use of Database Logins is mandatory.
I used SA login so as to create the USER1 login. Also tried creating other users First on SQL Server then on Nav. Am still having the same message.
Can anybody give me the "normal" steps necessary to do that. As explained in my first post, my problem is that it works fine on my test machine : the only thing i got to do is to create the login on the SQL Server, not even configuring permissions on the NAV database was necessary.
Thx again.0 -
For how to create the user refer the documentation on NAV install CD1 in DOC folder (w1w1isql.pdf).0
-
taher.bha wrote:Hi all and tx for your prompt replies.
As explained earlier, I am trying to use Database Logins not Windows Logins. I think that the extended stored procedures are only required for the Windows logins. I made the verification, both xp_ndo_enumusergroups and xp_ndo_enumusersids are correctly installed and Windows Logins can login correctly to Nav. That's a solution but in my case, the use of Database Logins is mandatory.
I used SA login so as to create the USER1 login. Also tried creating other users First on SQL Server then on Nav. Am still having the same message.
Can anybody give me the "normal" steps necessary to do that. As explained in my first post, my problem is that it works fine on my test machine : the only thing i got to do is to create the login on the SQL Server, not even configuring permissions on the NAV database was necessary.
Thx again.
On SQL:
- create user
- assign user to database [if you create a user, but do not map it to any database, you will still probably get an error message when synchronizing, that user does not exist)
On NAV:
- create user
- assign permission
- synchronizeTomas,
Dynamics NAV Enthusiast0 -
I resolved my problem \:D/ by running the synchronization using SA login.
The problem seems to be due to unsufficient rights for the SUPER user. I created the users into SQL using the SA login but i was using SUPER login to run Synchro. This login has all navision rights but not sufficient permissions on SQL Server to run the synchronization.
Thank you all !0 -
taher.bha wrote:I resolved my problem \:D/ by running the synchronization using SA login.
The problem seems to be due to unsufficient rights for the SUPER user. I created the users into SQL using the SA login but i was using SUPER login to run Synchro. This login has all navision rights but not sufficient permissions on SQL Server to run the synchronization.
Thank you all !
Are you running on NAV 5 or NAV5 with SP1 ?Tomas,
Dynamics NAV Enthusiast0 -
To avoid to have to always synchronize, change the Security Model to standard.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

