Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Connecting to Server Error

Author  Topic 

ElieLB
Starting Member

3 Posts

Posted - 2011-10-29 : 14:01:02
Hi

I have SQL Server Management Studio and it was connecting fine to the server on my laptop.. but today I started getting this error when I try to connect:


TITLE: Connect to Server
------------------------------

Cannot connect to ELIELB-VAIO.

------------------------------
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 what should I do to make it work?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-10-29 : 14:03:59
check if sql server service on your server is running.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ElieLB
Starting Member

3 Posts

Posted - 2011-10-29 : 14:07:57
quote:
Originally posted by visakh16

check if sql server service on your server is running.



How can I check that? (I'm new at these things)
and getting same error while trying to connect on Visual Studio 2008

P.S: I installed IIS yesterday, does it make sense?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-10-29 : 14:10:25
can you remote login to server machine?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Sachin.Nand

2937 Posts

Posted - 2011-10-29 : 14:58:17
Also can you ping the server ?


PBUH

Go to Top of Page

ElieLB
Starting Member

3 Posts

Posted - 2011-10-30 : 08:31:40
It's working now, I just enabled some things in the configuration manager. Thank you all
Go to Top of Page
   

- Advertisement -