You do not have permissions to read the ... table

gooms
Member Posts: 4
We recently migrated our database from Native to SQL server 2005. We are using NAV4.0.SP3.
After the migration we started getting error messages like this: You do not have permissions to read the [TableName] table. Contact your system manager if you need to have your permissions changed. (There are several tables which have this problem, table 5717 is one of them for example)
We've tried adding those tables to the security role of the users, but that didn't help at all.
ps: There is a similar thread about this ( viewtopic.php?t=15671 ) but I'm quite new to SQL2005, so I actually don't know how to do: 'You just need to grant select privileges for $ndo$shadow for table/view ...' or if this is a solution to my problem at all.
Thanks in advance.
edit - some more info about our situation:
We have SQL server 2005 + SP1 installed, and we are using the Standard security model.
After the migration we started getting error messages like this: You do not have permissions to read the [TableName] table. Contact your system manager if you need to have your permissions changed. (There are several tables which have this problem, table 5717 is one of them for example)
We've tried adding those tables to the security role of the users, but that didn't help at all.
ps: There is a similar thread about this ( viewtopic.php?t=15671 ) but I'm quite new to SQL2005, so I actually don't know how to do: 'You just need to grant select privileges for $ndo$shadow for table/view ...' or if this is a solution to my problem at all.
Thanks in advance.
edit - some more info about our situation:
We have SQL server 2005 + SP1 installed, and we are using the Standard security model.
0
Answers
-
did you run synchronize security after changing the roles?
Also are you on simple or enhanced security model?
I would use simple security model.0 -
I actually tried both: enhanced security model & then manually synchronised, and also using standard security model where everything is synchronised automatically.0
-
is you are using regular and add new tables, you need to run synchronize manually still.0
-
ara3n wrote:is you are using regular and add new tables, you need to run synchronize manually still.
Anyway, it seems that there was some residual data in some tables (that probably got in there using our DEV Licence) which weren't in our client's licence. It looks like the native database just ignored existing data in the tables that aren't in the licence and just denies access to those tables, but for the SQL database the tables have to be completely empty also.
So basically emptying the tables that gave the error solves this.0 -
Do your extended stored procedures have the right permissions set up? The Public role needs to be granted execute rights to both of them.0
-
In general: SQL is more strict to permissions. Tables, which are not in license, must be empty. Sometime, you need to add table into role although the table is not in license. It means, if you have this "error", add the table into some role for the user. Sometime it can be problem of incorrectly done customization, working with tables which are not in license...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