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
 SQL Server Administration (2005)
 Named Pipes Provider Error

Author  Topic 

MissingLink
Starting Member

2 Posts

Posted - 2009-11-02 : 06:16:39
quote:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)


I have a SQL Server setup with an external IP and an internal IP with users in my head office connecting through the internal one and users outside of the local network connecting at branch offices via the external IP.

The applications that the users run that uses the SQL server is exactly the same across all locations barring the connection string that is used. All users in the head office connect with no problem. Users at remote location A connect no problem. Users at remote location B used to connect with no problem, until suddenly no one could connect...getting the above error. I tried to find the error, but couldn't, so I setup a Terminal Services server that the users at remote location B RDP into to run the application using the Internal IP to the SQL server. All worked fine, until this morning when the users at remote location B started receiving the error again with no apparent cause.

Please could someone point me in the right direction as this branch office is basically offline and I'm having no luck finding a solution.
   

- Advertisement -