Hi,
I've a problem and need your help. ](*,)
I've install the SQL2005 and the NAV2009 (both classic sql and RTC). Cronus database is working fine: it connects and opens even the RTC without problems.
Now, I restore an other database in SQL. When I tryed to open the database in classic NAV with SQL give me an error:
- with Database Authentication: "The login failed when connecting to SQL Server NAMEINSTANCE"
- with Windows Authentication: "The user ID and password are invalid. Try again"
Please, could you help me with this problem?
How can I restore the new sql database in my server without these problems?? The sql server authentication is Windows and SQL Server.
Sorry but I am very new with SQL. :oops:
Wait for your help...
Robyn
0
Comments
Did you try with SA?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I tryed with both:
Windows authentication-> the error is: the user ID and password are invalid
Database Server Authentication -> the login failed when connecting to SQL Server
I tryed to use the SA too and the same fail.
Robyn
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Navision enabled userIDs are stored in two tables on the SQL-server
If so check the content of [<replacewithNAVdatabasename>].[dbo].[Users] for database usernames
and [<replacewithNAVdatabasename>].[dbo].[Windows Login] for Windows-user SIDs
SELECT [User ID] FROM [<replacewithNAVdatabasename>].[dbo].[User]
SELECT [SID] FROM [<replacewithNAVdatabasename>].[dbo].[Windows Login]
[User ID] must have a datadabe-login created in SQL to work
[SID] must be either a member of a securitygroup or a windows-user with a windows-account in SQL
Dan Lindström
NCSD Navision 2.00 since 1999 (Navision Certified Solution Developer)
MBSP Developer for Microsoft Dynamics NAV 2009
I solved the problem. Delete all the users in the dbo.users and dbo.windows login.
Now I can open the database.
Thanks a lot for all.
Roberto