[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Remote connection to SQL Server 2005 - error message

While attempting to connect to an SQL Server 2005 from an application created with MS Visual Studio 2005 (VB.net or C#), the following error occurs:

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)

What should be changed in SQL 2005 to allow remote connections?
1 Solution
914277 How to configure SQL Server 2005 to allow remote connections

also, a firewall on the server pc might also stop a remote connection.
Aneesh RetnakaranDatabase AdministratorCommented:

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now