SQL Error 15151

kitik
Member Posts: 230
Hi!
I use NAV5.0 with SQL. I created all the users in SQL and was trying to syncronize them with NAV. I received the following error:
15151, "42000", [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot find the user '$ndo$a$', because it does not exist or you do not have permission.
SQL:
GRANT SELECT, INSERT, UPDATE, DELETE ON "Object" TO [$ndo$a$]
Anyone knows what is wrong?
Thanks!
I use NAV5.0 with SQL. I created all the users in SQL and was trying to syncronize them with NAV. I received the following error:
15151, "42000", [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot find the user '$ndo$a$', because it does not exist or you do not have permission.
SQL:
GRANT SELECT, INSERT, UPDATE, DELETE ON "Object" TO [$ndo$a$]
Anyone knows what is wrong?
Thanks!
Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
0
Comments
-
try to change your security mode to simple, it seems like the application roles were corrupted... how did you create the DB? From some backup?0
-
How do I change the security model?
The database was already created. I was just creating new users.Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0 -
OK, as a first step, check that File - Alter - Options - Security mode is simple. If yes, problem is elsewhere...0
-
[Topic moved from 'NAV/Navision' forum to 'SQL General' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
All,
I get the same error message:
The following SQL Server error(s) occurred: 15151,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot find the user '$ndo$ar$', because it does not exist or you do not have permission.
SQL:
GRANT SELECT, INSERT, UPDATE, DELETE ON "Object" TO [$ndo$ar$]
The Recovery model was set to Full.
That is why I set it to Simple as recommended. When I try to do a Sync All afterwards I still get the same error message.
Some more information:
The database is on 4 SP2.
I did a "Synchronise Single Login" for all users. This worked fine. I am just not sure if this is the same as a "Synchronize All". If so then I am fine.
Is it the same?
Do you have any other recommendations?
Any idea is appreciated. Than you0 -
Sometime, when you remove users, there are still lines in "Member of" and other tables which are referencing the user. May be there is some record like this which leads to his problem... (Synchronize all is not going over User table but Member of table)0
-
It is not the Recovery model but the Security model that was referred to. Choose the Standard Security model, in the Advanced tab.Dean McCrae - Senior Software Developer, NAV Server & Tools
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
Thank you Kine, that solved the problem.
In fact there were "Member of" entries for some users which did not longer existing for that database.
I deleted those entries and could do a "Synchronization all" successfully.
Thank you also to dmccrae.
But on the "Advanced" Tab there are only the options: Locking and Caching.
This might be because we are still on 4 SP2.0 -
tro#1 wrote:Thank you also to dmccrae.
But on the "Advanced" Tab there are only the options: Locking and Caching.
This might be because we are still on 4 SP2.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.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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