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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Network Error

Author  Topic 

sanjay5219
Posting Yak Master

240 Posts

Posted - 2013-09-18 : 09:55:34
HI All,

I am able to open my SQL Server via RDP and able to ping also but when I am running my application I am getting below error

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)

Please advise

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-09-18 : 10:58:15
Go through the checklist in this blog post: http://blogs.msdn.com/b/sql_protocols/archive/2006/09/30/sql-server-2005-remote-connectivity-issue-troubleshooting.aspx
Go to Top of Page
   

- Advertisement -