dbTalk Databases Forums  

Login failed for user '(null)' - Not associated with a trusted connection

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Login failed for user '(null)' - Not associated with a trusted connection in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
karenmiddleol@yahoo.com
 
Posts: n/a

Default Login failed for user '(null)' - Not associated with a trusted connection - 06-08-2005 , 03:53 AM






We had a DTS package that was working fine until yesterday and since
today it does not work and we get the following error message:


[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed for user
'(null)'. Reason not associated with a trusted SQL Server connection.


Please clarify how do we fix this problem.

Thanks
Karen


Reply With Quote
  #2  
Old   
Uri Dimant
 
Posts: n/a

Default Re: Login failed for user '(null)' - Not associated with a trusted connection - 06-08-2005 , 04:00 AM






Hi
Did you change Authentication mode of SQL Server?



<karenmiddleol (AT) yahoo (DOT) com> wrote

Quote:
We had a DTS package that was working fine until yesterday and since
today it does not work and we get the following error message:


[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed for user
'(null)'. Reason not associated with a trusted SQL Server connection.


Please clarify how do we fix this problem.

Thanks
Karen




Reply With Quote
  #3  
Old   
Donna Lambert
 
Posts: n/a

Default RE: Login failed for user '(null)' - Not associated with a trusted con - 06-08-2005 , 09:23 AM



Hey Karen!

Generally when you see the "login failed for user NULL" it's a kerberos issue.
I know that sounds far fetched, but it's true.
If you get "login failed for user BOB" that's a different story. But the
fact that we are passing a NULL value to SQL instead of a user token means
that Kerberos is failing.
Sometimes this is called a double hop scenario, but you can get that error
even when there is only a single hop.

Follow this article to resolve that error:
How to troubleshoot the "Cannot generate SSPI context" error message
This step-by-step article describes how to troubleshoot the most typical
sources of the "Cannot generate SSPI context" error message. You may receive
this error message under the following conditions: You are connecting to SQL
Server.You are using...
http://support.microsoft.com/default...b;en-us;811889

Basically you will be getting the utility setspn, dropping the old spn and
recreating a new SPN (rebooting might be necessary).

Donna Lambert

"karenmiddleol (AT) yahoo (DOT) com" wrote:

Quote:
We had a DTS package that was working fine until yesterday and since
today it does not work and we get the following error message:


[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed for user
'(null)'. Reason not associated with a trusted SQL Server connection.


Please clarify how do we fix this problem.

Thanks
Karen



Reply With Quote
  #4  
Old   
Simon Worth
 
Posts: n/a

Default Re: Login failed for user '(null)' - Not associated with a trustedcon - 06-08-2005 , 11:58 AM



You may also want to check that the account logging in hasn't been
locked out because of invalid password entries exceeding the limit set.

Usually this scenario takes place when you are forced to change your
password, but services are running using old passwords and try to login
multiple times. If the account is locked out because of this, you will
see this error message.

Simon Worth

Donna Lambert wrote:
Quote:
Hey Karen!

Generally when you see the "login failed for user NULL" it's a kerberos issue.
I know that sounds far fetched, but it's true.
If you get "login failed for user BOB" that's a different story. But the
fact that we are passing a NULL value to SQL instead of a user token means
that Kerberos is failing.
Sometimes this is called a double hop scenario, but you can get that error
even when there is only a single hop.

Follow this article to resolve that error:
How to troubleshoot the "Cannot generate SSPI context" error message
This step-by-step article describes how to troubleshoot the most typical
sources of the "Cannot generate SSPI context" error message. You may receive
this error message under the following conditions: You are connecting to SQL
Server.You are using...
http://support.microsoft.com/default...b;en-us;811889

Basically you will be getting the utility setspn, dropping the old spn and
recreating a new SPN (rebooting might be necessary).

Donna Lambert

"karenmiddleol (AT) yahoo (DOT) com" wrote:


We had a DTS package that was working fine until yesterday and since
today it does not work and we get the following error message:


[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed for user
'(null)'. Reason not associated with a trusted SQL Server connection.


Please clarify how do we fix this problem.

Thanks
Karen



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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.