18452,"28000",[Microsoft] [ODBC SQL Server Driver][SQL serve

GopinathGuthi
Member Posts: 15
dear experts,
I am facing one error when connecting to server.
I have installed SQL Server 2005 ,nav 5.0 DB Server in one machine which is connected by LAN.
I have give Mixed mode authentication.
From that machine i was able to open navision by using window/sql authentications.
But when i was trying to connect from client machine it is throwing following error
18452,"28000",[Microsoft] [ODBC SQL Server Driver][SQL Server] Login failed for user 'sa'.
The user is not associated with a trusted SQL Server Connection.
I tried the following things
1) i created SQL Server ODBC Driver from client machine. - through ODBC i am able to connect.
2) i copied the xp_enumuserids, xp_enumusergroups into SQL Server also and given execute permission for public role.
Please give me solution.
Thanks in advance,
Gopinath.
I am facing one error when connecting to server.
I have installed SQL Server 2005 ,nav 5.0 DB Server in one machine which is connected by LAN.
I have give Mixed mode authentication.
From that machine i was able to open navision by using window/sql authentications.
But when i was trying to connect from client machine it is throwing following error
18452,"28000",[Microsoft] [ODBC SQL Server Driver][SQL Server] Login failed for user 'sa'.
The user is not associated with a trusted SQL Server Connection.
I tried the following things
1) i created SQL Server ODBC Driver from client machine. - through ODBC i am able to connect.
2) i copied the xp_enumuserids, xp_enumusergroups into SQL Server also and given execute permission for public role.
Please give me solution.
Thanks in advance,
Gopinath.
0
Comments
-
Hi!
"sa" is not a trusted login (= Windows Login), it's a database login! I guess there's an error in your ODBC connection string ...
Regards,
JörgJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
I'm getting this error when trying to connect with the RTC, but it says Login failed for user ''.
I'm a bit confused about where the login information comes from... I've never seen any type of sign in screen for the RTC. Before we were getting an error saying the user "[Our domain]\[ServerName]$" did not exist, so we added it, now this.0 -
Alex,
the RTC can only be used with Windows logins. The RTC will use your credentials to authenticate on the database.
If your windows authentication does not exist as a valid user in NAV, you will get this error.
If you are using database logins, then you cannot use the RTC.
Hope this helps,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
That does help Dutchie, it gives a place to continue troubleshooting from. Does there have to be a Windows user setup in NAV for both the client login and the Server login? The Best Practices Analyzer is not giving me very useful information- the same error and message across three different error messages.
Also, if Windows Users are used, why does it Login Failed For User ''. ? Shouldn't it be my machine name at least?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