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

x
  • 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?
0
MTecho
Asked:
MTecho
1 Solution
 
cottsakCommented:
914277 How to configure SQL Server 2005 to allow remote connections
http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277

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

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