Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Error in accessign SQL server from ASP.net

Author  Topic 

gangadhara.ms
Aged Yak Warrior

549 Posts

Posted - 2010-07-19 : 06:10:43
Hi All,
The application team is getting this error while connecting to the server.
Error is"
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) "

I checked all the possibilities still getting the error.
1.SQL Server and SQL Browser should be up and running.
2.Enabled remote connection.
3.Enabled the SQL Browser service.
4.Cheched Firewall and added the exception for Browser as well

Pls help me in this regard.
   

- Advertisement -