db_owner cannot add superuser role
gemini_shooter
Member Posts: 149
Hello all,
I have had this issue twice now and don't know why it is happening for just this specific DB. In essence, I have a Template DB A and Template DB B on the same SQL server. I back them up using NAV and create a new DB using NAV, DB A and DB B and restore these backups with the same create setups, simple recovery and standard security model since they are testing DB's.
Everything works great for DB A
But, DB B gives me trouble all the time:
-- Problem1 I add my user name in NAV and hit synchronize, everything seems ok but when I try to add Super role.. it gives me an error "you do not have permission to create '0' table. Contact system administrator", I am not sure why I get this error, license is good as well.
-- Problem 2 and the weirdest thing is that my name shows up in SQL Server --> Security --> Logins. When I go to user mapping I see that DB B is checked and I am db_owner, but when I go to the SQL Server --> Databases --> Template DB B --> Security --> Users, I don't see my name ?????
Note: The schema shows as "dbo" for DB B, but not sure if that matters, because I am db_owner and sysadmin on the SQL server, but is "<domain name>/<username>" for DB A, i don't think that matters but just wanted to add that info as well.
Any suggestions and help
I have had this issue twice now and don't know why it is happening for just this specific DB. In essence, I have a Template DB A and Template DB B on the same SQL server. I back them up using NAV and create a new DB using NAV, DB A and DB B and restore these backups with the same create setups, simple recovery and standard security model since they are testing DB's.
Everything works great for DB A
But, DB B gives me trouble all the time:
-- Problem1 I add my user name in NAV and hit synchronize, everything seems ok but when I try to add Super role.. it gives me an error "you do not have permission to create '0' table. Contact system administrator", I am not sure why I get this error, license is good as well.
-- Problem 2 and the weirdest thing is that my name shows up in SQL Server --> Security --> Logins. When I go to user mapping I see that DB B is checked and I am db_owner, but when I go to the SQL Server --> Databases --> Template DB B --> Security --> Users, I don't see my name ?????
Note: The schema shows as "dbo" for DB B, but not sure if that matters, because I am db_owner and sysadmin on the SQL server, but is "<domain name>/<username>" for DB A, i don't think that matters but just wanted to add that info as well.
Any suggestions and help
0
Comments
-
Please refer to this page for sql roles required to do NAV specific tasks.
http://msdn.microsoft.com/en-us/library/dd568727.aspx0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 323 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
