Error while creating new Database.

Mrinmay
Member Posts: 74
Hi Exparts,
Actually i am trying to create a new database in SQL server. But i am getting following error :
Microsoft Dynamics NAV Classic
The following SQL Server error or errors occurred:
15023,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]User, group, or role 'NT AUTHORITY\NETWORK SERVICE' already exists in the current database.
SQL:
CREATE USER [NT AUTHORITY\NETWORK SERVICE] FOR LOGIN [NT AUTHORITY\NETWORK SERVICE]
OK
Can any one help me out how to resolve the problem?
Regrads,
Mrinmay
Actually i am trying to create a new database in SQL server. But i am getting following error :
Microsoft Dynamics NAV Classic
The following SQL Server error or errors occurred:
15023,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]User, group, or role 'NT AUTHORITY\NETWORK SERVICE' already exists in the current database.
SQL:
CREATE USER [NT AUTHORITY\NETWORK SERVICE] FOR LOGIN [NT AUTHORITY\NETWORK SERVICE]
OK
Can any one help me out how to resolve the problem?
Regrads,
Mrinmay
0
Comments
-
You need to give us more details, like NAV version, how you are creating the DB... and this forum is form NAV Three Tier, but creating DB is not part of RTC, thus you are doing it from SQL tools or from Classic client...0
-
I had the same problem. The issue was the SQL Server Service was running on the NETWORK SERVICE account. I changed it to Local System. Then opened SQL Server Management Studio. I removed "NT/NETWORK SERVICE" account under Security > Logins and also on System Databases > Security > Users. Reopened the finsql and created New Database. Works perfectly alright.
This might help others, who face similar issue.0 -
if you've created a database and then fails, try to create a new database with a different name from the first database created,
because based on my experience, even if the database does not work made, it must use the new database name when create new
Please advice if there are deficiencies that need to be added
regard's
Prisma0 -
The error is not about the duplicate name of db in that case a clear error comes "Database name already exist on abc server".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