x

installation issue

Hi all, i installed SQL Server management Studio 2005 of express edition in a server when i am trying to connect to server after installation i am getting the error < can not connect to server Additional Information:a network related or instance specific error occured while establishing a connection to sql server .the server was not found or not accesible.verify that the instance name is correct and the 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) > can any one suggest how to connect to instance.
more ▼

asked Aug 08, 2011 at 06:33 AM in Default

sunithalee143 gravatar image

sunithalee143
267 15 23 25

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first
Named Pipes? Take a look at the server configuration. make sure that the TCP/IP protocol is enabled. it's unlikely that most systems these days are running named pipes such that you can make that type of connection. Just about everyone runs TCPIP though.
more ▼

answered Aug 08, 2011 at 06:44 AM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
103k 19 21 74

+1 After installation of SQL Server Express, only Named Pipes and Shared Memory are enabled. To be able to connect from remote computers you have to explicitly enable TCP/IP connection in the SQL Server Configuration as @Grant Fritchey wrote.

Also make sure, you have a firewall ports open after you enable the TCP/IP.
Aug 08, 2011 at 06:55 AM Pavel Pawlowski
Thank yoy very much. you have given me right path to resolve the error. Thanks a lot really your answer saved me when i had enabled TCP/IP it started the instance.
Aug 08, 2011 at 11:02 PM sunithalee143
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x1951

asked: Aug 08, 2011 at 06:33 AM

Seen: 343 times

Last Updated: Aug 08, 2011 at 06:33 AM