Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
my Sql server is working fine but after i restated my Computer and the i opened my sql server 2008 and press the connect button it shows me this error

CSS
TITLE: Connect to Database Engine
------------------------------

Cannot connect to (local).

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

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476

------------------------------
BUTTONS:
OK
------------------------------


please help me i have created the database and also i have no recent backup of that database.
all my connections are close

Please help me
Posted
Comments
ZurdoDev 1-May-13 11:29am    
Your service is not likely running. Look in services and make sure SQL is running.
hinaiqbal 1-May-13 11:47am    
from where to check that the services are running or not
ZurdoDev 1-May-13 11:50am    
Admin Tools, Services.
hinaiqbal 1-May-13 12:01pm    
SQL Server(SQLEXPRESS) has the status started but SQL Server(MSSQLSERVER) has no status
ZurdoDev 1-May-13 12:04pm    
It's your server. I don't know which one is right or wrong.

1 solution

Hi,

No instance of SQL Server is running. You can start an instance of SQL Server using the SQL Server Configuration Manager:
http://msdn.microsoft.com/en-us/library/ms190699%28v=sql.100%29.aspx[^]

[Edit]

If the Configuration Manager isn't installed, use the net commands to start an instance of SQL Server:
http://msdn.microsoft.com/en-us/library/ms187598%28v=sql.100%29.aspx[^]
 
Share this answer
 
v3
Comments
hinaiqbal 1-May-13 12:15pm    
i have seen the link mentioned by you but
On the Start menu, point to All Programs, point to Microsoft SQL Server 2008, point to Configuration Tools, i am unable to see SQL Server Configuration Manager. there is only SQL Server Installation center
Thomas Daniels 1-May-13 12:24pm    
I updated my answer.
hinaiqbal 1-May-13 14:12pm    
i have used your second link command net start "SQL Server (local)" but it displays that the service name is invalid
Thomas Daniels 2-May-13 11:21am    
Try net start MSSQLSERVER

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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