Unix Technical Forum

Connection Error 18452 - Login failed for user '(null)'

This is a discussion on Connection Error 18452 - Login failed for user '(null)' within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hello everybody, one of our users gets an error message when trying to connect to our SQL Server database: ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:27 PM
Markus Wolff
 
Posts: n/a
Default Connection Error 18452 - Login failed for user '(null)'

Hello everybody,

one of our users gets an error message when trying to connect to our SQL
Server database:

Connection failed:
SQLState: '28000'
SQL Server Error 18452
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'(null)'. Reason: Not associated with a trusted SQL Server connection.

The problem occured suddenly during work. The user can connect to the server
using another computer and other users can connect using his computer.
Knowledge base didn't help so I'm asking you.

Configuration
Client: Windows XP professional (2002/SP1)
ODBC driver: SQL Server (2000.81.9042.00)
Client configuration: TCP/IP

Server: Windows 2000 Server
SQL Server 7.0

Seems the network setup for the user is somehow corrupted, since the message
states the user to be '(null)'.

Any suggestions?

Thanks in advance,
Markus Wolff


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:28 PM
=?Utf-8?B?SkM=?=
 
Posts: n/a
Default RE: Connection Error 18452 - Login failed for user '(null)'

I have the same problem and this is a problem associated with trusted SQL
Server connections, there is a document out there that says that if you use
named pipes everything is great but using TCP/IP, then you need to configure
Active directory and possibly using kerberos (instead of NTLM). I was hoping
to get more info on how to set out systems at work so that trusted
connections can work.

"Markus Wolff" wrote:

> Hello everybody,
>
> one of our users gets an error message when trying to connect to our SQL
> Server database:
>
> Connection failed:
> SQLState: '28000'
> SQL Server Error 18452
> [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
> '(null)'. Reason: Not associated with a trusted SQL Server connection.
>
> The problem occured suddenly during work. The user can connect to the server
> using another computer and other users can connect using his computer.
> Knowledge base didn't help so I'm asking you.
>
> Configuration
> Client: Windows XP professional (2002/SP1)
> ODBC driver: SQL Server (2000.81.9042.00)
> Client configuration: TCP/IP
>
> Server: Windows 2000 Server
> SQL Server 7.0
>
> Seems the network setup for the user is somehow corrupted, since the message
> states the user to be '(null)'.
>
> Any suggestions?
>
> Thanks in advance,
> Markus Wolff
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com