We've been struggling with variations of the same theme of error message. Generally, the message is:
The following SQL Server error(s) occurred while accessing the Sessions table:
229,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]The SELECT permission was denied on the object 'Session', database '<database name>',schema 'dbo'.
We're on Version NA 4.00 SP1 (4.0 SP3)
SQL Server 2005
Citrix ICA
We've been synching, but nothing works. The only solution is to set the users role to Super (Data) or Super.
Thanks for any pointers.
Tim Lecander
ArcherPoint
0
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Does this help?
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool
We ended up adding db_owner for each user's database role membership.
Thanks!
ArcherPoint
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thats fatal :!:
With using 4.03 and standard security model and you read in your source the session table (view), u must grant permissions to this view. All user use database role public. so give under Database -> Security -> Roles -> Database Roles -> Public -> Securables -> Add -> Specific Objects -> Views -> [dbo].Session -> Permission Select -> Grant. These are steps for SQL 2005.
Easier go to Database -> new querywindow -> grant select on "Session" to public
Regards