Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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)
Posted
Comments
Sharath2790 27-May-13 1:28am    
It may be due faulty Connection String or may be a firewall issue...
OR may be network connection failure can cause this error...
some more details please....
David_Wimbley 27-May-13 1:29am    
Have you checked the firewall? Windows firewall/any anti virus firewall that may be installed.

Can you ping the server itself? Is the server listening on port 1433? Can you telnet to 1433/sniff ports to see if its listening?

Do you have proper permissions on the box?

What troubleshooting steps have you tried?

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