Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
TITLE: Connect to Server
------------------------------

Cannot connect to ITADMIN\SQL2014.

------------------------------
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

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


What I have tried:

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)
Posted
Updated 17-Feb-17 21:53pm

1 solution

Ensure that the SQL Browser Windows service is running on the server and client protocols are enabled (TCP/IP preferred). Also check the port, the SQL Server is listening to (by default it's 1433). If using other port, add it to the instance name like
ITADMIN\SQL2014:1500
.
If you're using a firewall, be sure that the port is allowed.
Last idea: check if you are using the correct instance name. If not sure, open the SQL Management Studio, right click on the server node, choose Properties from menu and copy the instance name from dialog.
 
Share this answer
 

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