FIX:- Login failed for user ‘sa’. The user is not associated with a trusted SQL Server connection

Sometime while connecting MSSQL 2005 Remotely OR locally using MSSQL Management Studio (using user as SA) it throw following Error

Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18452&LinkId=20476

This Error occurs when SQL Server doesn’t support SQL Server Authentication Mode (Mixed Mode for MSSQL 2000). This issue can be fixed using following Steps:

1) Connect the MSSQL server using Windows Authentication of the server.


2) Right Click on the server name in the tree on the left and go to properties.


3) Click the Security Option. Now under Server authentication Select “SQL Server and Windows Authentication Mode” and press OK.

Now try to connect MSSQL using SA user. Please refer Microsoft KB Article 840219 for more information

About: Mike

Milind Koyande loves to work on new technologies specially virtualization and troubleshoot server problems. I’m an avid photographer and love to spend my free time close to nature, trying to capture its glory on my camera.


One thought on “FIX:- Login failed for user ‘sa’. The user is not associated with a trusted SQL Server connection”

This site uses Akismet to reduce spam. Learn how your comment data is processed.