Click here to Skip to main content
15,560,073 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I couldn't Connect my Server From the morning .it Says like below .I googled it but i couldn't Solve that issue

Cannot connect to PC\SQLEXPRESS.


A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)


I have Tried this,

SQL Configuration Manager ->
Sql Sever Services
-> Sql Server is Stopped

i am trying To Restart the Sql server services , its throw Exception
Updated 10-Nov-14 0:08am
Thanks7872 10-Nov-14 1:03am    
And what is the question? Which part of this error is unclear?
kskumaran 10-Nov-14 5:05am    
I have Updated my Question .Assist me :)

You need to enable networking for SQL Express since it is off be default : How to: Enable Network Access in SQL Server Configuration Manager (SQL Server Express)[^]
Share this answer
kskumaran 10-Nov-14 5:08am    
i have Updated.please Check :)
Mehdi Gholam 10-Nov-14 5:39am    
Check the windows events to see what went wrong. Also a computer restart might help.
kskumaran 10-Nov-14 6:49am    
i did 4 times.but no use sir :(
kskumaran 10-Nov-14 6:54am    
i checked Event Viewer it says that Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. what do i do ?
Mehdi Gholam 10-Nov-14 9:12am    
Re-Install your SQL Server or try this :

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