Answered by:
Login failed for user 'sa'

Question
-
Cannot connect to hp-hp\TEST.
===================================
Login failed for user 'sa'. (.Net SqlClient Data Provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
------------------------------
Server Name: hp-hp\TEST
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536Tuesday, March 31, 2015 1:48 PM
Answers
-
If you have lost access to SQL instance and no one can login:
- Proposed as answer by Michelle Li Wednesday, April 1, 2015 12:18 PM
- Marked as answer by Michelle Li Wednesday, April 8, 2015 7:47 AM
Tuesday, March 31, 2015 2:20 PM
All replies
-
Is SQL Server is in Mixed Authentication mode? SA login is enabled?
https://technet.microsoft.com/en-us/library/ms188670(v=sql.105).aspx
Make sure using the right password for sa
https://technet.microsoft.com/en-us/library/ms366351%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
- Edited by dave_gona Tuesday, March 31, 2015 1:55 PM
- Proposed as answer by Michelle Li Wednesday, April 1, 2015 12:17 PM
Tuesday, March 31, 2015 1:54 PM -
Looks like login is disabled.
login to the server with another user account and see if sa is disabled.
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com
- Proposed as answer by Michelle Li Wednesday, April 1, 2015 12:18 PM
Tuesday, March 31, 2015 1:54 PM -
my sql server logs in with other two instances on windows authentication
but only for this instance named hp-hp\test is not logging with windows and sql server authentication
- Edited by SHRAVANDBA Tuesday, March 31, 2015 2:11 PM
Tuesday, March 31, 2015 2:08 PM -
How did you access hp-hp\test instance before? Have you ever logged in to this instance? Does anyone has access to this instance?Tuesday, March 31, 2015 2:13 PM
-
If you have lost access to SQL instance and no one can login:
- Proposed as answer by Michelle Li Wednesday, April 1, 2015 12:18 PM
- Marked as answer by Michelle Li Wednesday, April 8, 2015 7:47 AM
Tuesday, March 31, 2015 2:20 PM -
What error do you get when you try to login using windows authentication?
If you are not able to use any logins (both sql and windows) and you dont know anyone who can login then follow the process in the link shared by Dave_gona
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com
Tuesday, March 31, 2015 3:20 PM