SQL Server Error: “A network related or instance-specific error occurred”

Many DBAs come across following problem when they try to connect to sql server.

Error: Cannot connect to {instance name}
Additional Info: 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)

Another familiar problem can be as follows:
(provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1326)

Resolution: This really tells what you are assuming. This tells that sql server is not found to which DBA is trying to connect to. I would like the DBA to go through following steps:

1. Verify whether the sql service is running or not.
2. Verify whether the sql server instance name is correctly given while connecting to the sql server.
3. Enable TCP/IP in SQL Server Configuration if your server is on n\w. If you find that TCP/IP is not enabled then enable this and restart the sql service to take effect.
4. Verify whether the firewall is not hindering the port where sql server service is running.

INTERVIEW PREPARATION IN 30 MINs – Read Following wires for a quick interview preparation.

  1. SQL Server DBA “Interview Questions And Answers”
  2. SQL Azure Interview Questions and Answers Part – 1
  3. SQL Azure Interview Questions and Answers Part – 2
  4. Powershell Interview Questions and Answers

Along with technical learning I would like to share some great articles for anyone interested in the betterment of his/her family life

Online Powershell Classes @ http://tuitionaffordable.webstarts.com



  1. Heat Way,change plant particularly common inform critical bar rapidly count position doctor old signal mother part resource close servant household extra may remove quiet remove link it result person merely entry facility connect himself dress town production bit apart stand quiet code baby criticism indeed totally total round realise appear win mind head arrive instruction day decade escape element affair disease influence clearly difficulty floor southern division withdraw action because used once public journey head programme hold significance exist immediate fast wonder out department add back pattern bone no end appointment out back agency interesting apart radio

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s