New db permission errors

jrpucla
Member Posts: 5
I am using SQL 2005 and NAV 4.0 SP3. I am not a dba so bear with me.
I created a new db. I imported the data I needed through SSIS. I don't need all of it and SSIS seemed simpler than dataports. When I go to login to the new db I get an error about the object table and permissions. I don't remember the exact error but I can't get ino the db at all.
When I check the new db, there are no users or application roles in the permissions area of the properties. I know they don't appear magically. My question is how do I get the users and application roles in the new db?
I tried to add them but the only things that show up are the guest user and the public application role.
Thanks in advance for any help.
I created a new db. I imported the data I needed through SSIS. I don't need all of it and SSIS seemed simpler than dataports. When I go to login to the new db I get an error about the object table and permissions. I don't remember the exact error but I can't get ino the db at all.
When I check the new db, there are no users or application roles in the permissions area of the properties. I know they don't appear magically. My question is how do I get the users and application roles in the new db?
I tried to add them but the only things that show up are the guest user and the public application role.
Thanks in advance for any help.
0
Comments
-
Hi,
well, even though you are not a DBA I hope you have read the "NAV Installation & System Management (SQL)" PDF so that you have at least created the new database correctly, fulfilling all requirements.
Make sure you are using the "Standard" Security Model, this will reduce the amout of trouble.
Also, whenever you setup a new DB etc., make sure you are logged on to the SQL Server using a "sysadmin" role. Actually you should have taken care about the user/role setup - SQL site - even before importing the data ...
To transfer the logins from one SQL Server to another you could use this MS feature: http://support.microsoft.com/kb/246133
Once you have create the Logins on SQL Server, the you could create the Users in the DB (SQL site); then you could setup the Logins in NAV. Then "Synchronize".
Does this work?
Regards,
JörgJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
I was able to remedy this on my own.
For future reference:
1. Create new db
1. Generate scripts from "copy from" database.
2. Run script on new database by changing the name of the db to the new db in the script
3. Run export on "copy from" database to new database0
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