21 May,2012 by Jack Vamvas
Question: I cannot connect to Sql server remotely from management studio , It is the correct User name and password.
Cannot connect to xxxx.xxxx.xxxx.xxxx
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) (.Net SqlClient Data Provider)
Answer: Depending on the exact problem – some of these tests will help
a) Ping test - Can you ping to the server?
b) Telnet test - Can you make a telnet connection connection?
c) Are the SQL services started ?
d) Can you connect from the server where the SQL Server is based?
e) Checked the Authentication Mode settings on SQL Server. Are you using the correct setting? The setting must be in Mixed Mode to accept SQL usernames and passwords.
f) SQL Server Versions – For example, You cannot connect from SSMS 2005 to SQL Server 2008. Make sure the client and server are compatible.
If you’re connecting through a client , ensure the drivers support the version.
g) Check Server network configuration and make sure the correct protocols are used, such as Named Pipes or TCP\IP.
h) Read the SQL Server Error 26 troubleshooting checklist