dbTalk Databases Forums  

beginner: "Login failed for user 'sa'."

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss beginner: "Login failed for user 'sa'." in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrzej Magdziarz
 
Posts: n/a

Default beginner: "Login failed for user 'sa'." - 03-07-2006 , 08:40 AM






Hello,
(sorry for my English...)
Could you help me with a SQL Server 2005 problem?
I had installed SQL Server 2005 and then I tried to setup some application
using SQL Server. Unfortunatelly setup fails because the application cannot
logon to SQL Server in SQL Server Authentication mode (user 'sa', password
'sa'). I checked Server Management Studio Express: I have sa/sa account
(because I've prepared it), but although I can logon in Windows
Authentication mode, I cannot logon in SQL Server Authentication (sa/sa)
because of:

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

Could you help me plase? I suspect that solution is simple but my experience
is not enough.
Thank you very much.
/RAM



Reply With Quote
  #2  
Old   
SQL
 
Posts: n/a

Default Re: beginner: "Login failed for user 'sa'." - 03-07-2006 , 08:59 AM






take a look here
http://sqlservercode.blogspot.com/20...eason-not.html


Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: beginner: "Login failed for user 'sa'." - 03-07-2006 , 05:28 PM



Andrzej Magdziarz (andrzej.magdziarz (AT) wp (DOT) pl) writes:
Quote:
Could you help me with a SQL Server 2005 problem? I had installed SQL
Server 2005 and then I tried to setup some application using SQL Server.
Unfortunatelly setup fails because the application cannot logon to SQL
Server in SQL Server Authentication mode (user 'sa', password 'sa').
That is not a very good password. :-)

Quote:
I checked Server Management Studio Express: I have sa/sa account
(because I've prepared it), but although I can logon in Windows
Authentication mode, I cannot logon in SQL Server Authentication (sa/sa)
because of:

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

Could you help me plase? I suspect that solution is simple but my
experience is not enough.
By default, SQL Server accepts only logins through Windows authentication,
and you must explicitly permit SQL authentication. Your first chance
to so is during setup, but you can also do this from Mgmt Studio.
Right-click the server itself in the Object Explorer, select Properies
and then find the Security page.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


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.