Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



Error: 18452 SQL Server 2005 "Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection."


Home  > MSSQL  > Error: 18452 SQL Server 2005 "Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection." 
       
"Login failed for user 'sa'. The user is not associated with a trusted SQL 
Server connection." 

SQL Server Error Error: 18452

I spend quiet a loat of time to find a solution to this problem . Finally Here's 
the answer


Open
Microsoft SQL Server Management Studio Express
Login Using Windows Authentication

1. In the object explorer click on security (Expand Security)
2. click on logins (expand logins)
3. double click on sa - to open login properties window
4. click on general
5. here on the right side u can change the password for sa
6. select status
7. Settings -> Permissions to connect to datbase enegine
change to Grant
8. Settings -> Login -> Change to enable 


You need to enable sql authentication

Open Microsoft SQL Server Management Studio Express
Login Using Windows Authentication Mode

1. Right Click On SQL Instance In my case its
Murugan\SQLExpress

2. Select Properties

3. Select Security

4. Change Server Authentication to
SQL Server And Windows Authentication Mode

5. Click On OK

You are done


Now This i did several time and it still didnot work 

This is the last step you need to do. 

Start -> Control Panel ->Administrative Tools->Services

Find the serivce SQL Server
or SQL Server ( SQLEXpress) 

Double click on it 

Click On Stop 
Once the serve Stops Click on Start

Thats it u are good to go. 

In case u did not get it running. Please send me a mail with the error 
I will defanitely try to help u 

mail to : 
index

create udl file to test sql connection to the sql server

Error: 18452 SQL Server 2005 "Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection."

How to copy a table with data to one db to another in sql 2005

How to insert multiple records to a table using a single Insert query

How to insert values to multiple tables using a single insert query statement

How to replace a part of a string of a field using query in MSSQL

ms sql Add field to table using Alter Table

ms sql server 2005 express edition

MSSQL What is the use of COALESCE() function

System.Data.SqlClient.SqlError The backup set holds a backup of a database other than the existing

What are the different login modes in sql server

where is sql server 2005 files stored

Windows 7 SQL Server 2008 Express R2 Error Unable to connect from remote machine desktop

sql server error exception system.data.sqlclient.sqlerror the media set has 2 media families but only 1 are provided

Restore a database to another database The backup set holds a backup of a database other than the existing

Stored Procedure Introduction

How to execute a stored procedure on the sql server query analzer

Create Stored Procedure Example For beginner

stored procedure variable orderby

Stored Procedcure to Update Table

Stored Procedure Input Variables

not getting sql server properties on clicking udl file opening as text

Generic Stored Procedure To Return Get Data From Table With Paging

Single Stored Procedure Insert Update Delete

Stored Perocedure ROWCOUNT

Invalid use of a side effecting operator EXECUTE STRING within a function

SQL Query MAX Value column

MSSQL Select GroupBy

SQL Occurrence of character in a string

TSQL Functions

t sql string manipulation STRING BETWEEN TWO STRINGS

TSQL CHECK IF NULL

Generic Stored Procedure Insert Update Delete

Cannot call methods on nvarchar max



  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam