Hello,
I have SQLserver2005 with Navision 4.0SP3.
When I try to log in with a user (who does not have dbo-rights) , I get the following Message:
The following SQL Server error(s) occurred while accessing the Object table:
229,"42000",[Microsoft}[ODBC SQL Server Driver][SQL Server] The SELECT permission was denied on the object 'Object', 'database datbase_name', schema 'dbo'.
OK
What can I do in order to successfully log in with that user without giving that user dbo-rights?
What I did so far: He is in public,
in the view dbo.session for permission select he has "Grant" and "With grant".
Thank you
Andreas
Andreas
0
Comments
Synchronized the security?
Take a look at the installation guide. I think there's also a SQL Implementation pdf on the product cd. You'll find pretty much everything you need to know about NAV security.
Also, if you haven't already added them, the extended xp_ndo stored procedures need to be added to the server.
Not sure but I think the error I had was solved by the first idea - can't recall if it was exactly what you have described though.
Hope this helps.
Rob.
Or you synchronize the accounts or you change the security system to standard.
If you don't need the permissions pushed to SQL (needed if the users need to access the DB with other tools), I would recommend using the standard security system.
[Topic moved from 'NAV/Navision' forum to 'SQL General' forum]
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
First try to "synchronize" your NAV logins. If the error still occurs, then you could try this TSQL in SSMS:
Does this help?
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
But i want to understand better.
Can you help me to learn about the View "Session" because that was my object with this problem?
It's very buggy, often some permissions get lost ...
Missing SELECR rights on the "Session" view is abug of older NAV 5.x versions ...
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool