SET_IDENTITY_INSERT ON / All Users are public ?!

recall
Member Posts: 36
Hello,
I have a SQL-DB with Nav. 4.0.
When I tried to Access the table Shipment Order line, a SQL-Error occured saying that the command SET_IDENTITY_INSERT ON could only be executed by Admins or the owner of the table.
I can't make all the users admin, and only one can be the owner.
Would can I do?
Thanks.
I have a SQL-DB with Nav. 4.0.
When I tried to Access the table Shipment Order line, a SQL-Error occured saying that the command SET_IDENTITY_INSERT ON could only be executed by Admins or the owner of the table.
I can't make all the users admin, and only one can be the owner.
Would can I do?
Thanks.
0
Comments
-
What type of access are doing (read, insert, delete, modify)?
What are you attemping to do?
Does your table have any AutoIncrement fields?There are no bugs - only undocumented features.0 -
recall wrote:can't make all the users admin, and only one can be the owner.
Of course can you make them all the owner
Just put a Checkmark in the box before DBO where you define database access for the users.
In the upper window you click in the box of the wanted Database and in the lower window are the roles you can give for this DB.
public is automatically signed and below that is dbo.regards,
Michael Schumacher
oh, what day is it? Backup day. OK, let's dump all data to /dev/nul ;-)0 -
This error occurs because you have defined a field as AutoIncrement and are attempting to insert a non-null value. This is referred to as an identity insert in SQL. The field value is usually supplied by the system but you want the system to accept the value you are supplying.
The only time you would be doing this is either a restore or a dataport. These should be done by a user with sufficient rights. If you are getting this error in daily transactions than you need to review the code.There are no bugs - only undocumented features.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