Click here to Skip to main content
15,919,749 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
iam unable to login to sqlserver2005.
user name is sa .i didnot change password too.
the following error is shown when i click on connect

Connect to Server
------------------------------

Cannot connect to USER.

------------------------------
ADDITIONAL INFORMATION:

Login failed for user sa;. (Microsoft SQL Server, Error: 18456)
...

windows authentication is also showing error as below:
TITLE: Connect to Server
------------------------------

Cannot connect to USER.

------------------------------
ADDITIONAL INFORMATION:

This version of Microsoft SQL Server Management Studio can only be used to connect to SQL Server 2000 and SQL Server 2005 servers. (ConnectionDlg)

-----------------------------
------------------------------severity 14
state 1
help me to solve this
Posted
Updated 25-Aug-13 22:29pm
v4
Comments
abbaspirmoradi 25-Aug-13 14:53pm    
give full error string.with Severity and State.
[no name] 25-Aug-13 15:38pm    
And what do you expect from us? We cannot possible know the sa password to your database.
svk475 26-Aug-13 3:41am    
how to login into sql server without knowing sa password in sqlserver authentication

1 solution

control panel > Administrative Tools > services
Make sure SQL Server Service is running.
Happy Coding!
:)
 
Share this answer
 
Comments
svk475 26-Aug-13 4:39am    
i coudnt find administrative tools in control panel.iam using windows 7what to do
Aarti Meswania 26-Aug-13 4:48am    
click on start button

now in search files & folders textbox write
services.msc
press enter

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900