Cannot Add Windows Login Although Has Deleted User in SQL

johanna
Member Posts: 369
Dear All,
I am using NAV 2009 R2 with 3-tier architecture :
server 1 : database server & classic client
server 2 : NAV service server
terminal server : RTC
In windows login, I have added some domain user account. Then, I got error for one user only when I open RTC with that user : "The login failed when connecting to SQL Server XXXXX". When I checked in SQL Server Management Studio, that user has been added in my database that is accessed by RTC. So, I tried to delete that user in windows login, security user database, & security login SQL. But, when I try to add that user to windows login again, the result is error ".. the current user already exist .."
When I checked the SQL Server, that user already exist again in security user & security login although I have been deleted that user before..!! How could this happen?
When I try to run RTC again with this situation, now the error result : "User ID & Password are invalid." I know this error is happen because that user has not been in the windows login again after I deleted it.
How to add that user to windows login again? Please help... Thank you.
I am using NAV 2009 R2 with 3-tier architecture :
server 1 : database server & classic client
server 2 : NAV service server
terminal server : RTC
In windows login, I have added some domain user account. Then, I got error for one user only when I open RTC with that user : "The login failed when connecting to SQL Server XXXXX". When I checked in SQL Server Management Studio, that user has been added in my database that is accessed by RTC. So, I tried to delete that user in windows login, security user database, & security login SQL. But, when I try to add that user to windows login again, the result is error ".. the current user already exist .."
When I checked the SQL Server, that user already exist again in security user & security login although I have been deleted that user before..!! How could this happen?
When I try to run RTC again with this situation, now the error result : "User ID & Password are invalid." I know this error is happen because that user has not been in the windows login again after I deleted it.
How to add that user to windows login again? Please help... Thank you.
Best regards,
Johanna
Johanna
0
Answers
-
Have you tried to add in NAV Classic with SQL..?
Tools -> Security -> Windows Login and then u add your account..0 -
Hi Pinky,
Thanks for your reply.. I have tried to add the windows account in NAV Classic with SQL and it is failed with error "user,group,or role XXXXX already exist in the current database".
Anyway, I have got the solution to this issue. I cannot add windows account just because that account already exist in master table. After I delete that account in master table, I can add that account in the windows login successfully..Best regards,
Johanna0
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