Error The user is not associated with a trusted SQL Server connection

When installing Sql Server 2005/2000 you propbably had  options of installing it using  Mixed mode Authentication (Sql server and Windows Authentication or Windows Authentication.

But i think i must have chosen Windows Auth since its recommended and more secured.So on my Sql Server 2005 i created a user login and gave some it some access to some database,table objects etc..

Only when i tried logging in using the username i got the error "
Error The user is not associated with a trusted SQL Server connection".

I was already pulling my hair out since i knew sql 2005 has some other secure features and new configs involved.
But at the end i figured it out that it was trying to use an acct which it wasn't configured.I did switch the Authentication to mixed mode and it worked like a charm.

To do the switch just expand to your datbase instance right click properties and go to security or something related in sql 2005.

Hope this will save someone elses time
 


posted @ Wednesday, August 01, 2007 11:28 PM

Print

Comments on this entry:

# re: Error The user is not associated with a trusted SQL Server connection

Left by Akshay at 4/15/2008 7:13 PM
Gravatar
It just did!
thanks a ton

# re: Error The user is not associated with a trusted SQL Server connection

Left by Matt P at 6/12/2008 8:04 AM
Gravatar
And me as well! Thank you!

# re: Error The user is not associated with a trusted SQL Server connection

Left by StrsAdmin at 1/25/2009 7:59 PM
Gravatar
That was very helpful and right now saved me from a lot of stress. Be sure to always write "Authentication", "Account" fully and always use capital I's to avoid confusion for non-English viewers. Thank you.

# re: Error The user is not associated with a trusted SQL Server connection

Left by Zack at 3/9/2009 6:47 AM
Gravatar
i am using an odbc dsn connection ,it gives me the error despite having the mixedmode .

Your comment:



 (will not be displayed)


 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345