Sunday, August 2, 2009

Visual Studio 2005 And SQL server 2000, PLEASE HELP?

I'm trying to connect to a remote sql server, using C# and I'm having the below error, I tried to connect to a local server and it worked, please see the error and try to help:


System.Data.SqlClient.SqlException: 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) at System.Data.SqlClient.SqlInternalConnect...

Visual Studio 2005 And SQL server 2000, PLEASE HELP?
Try the following page as this has many troubleshooting tips for SQL Server http://blogs.msdn.com/sql_protocols/arch...


No comments:

Post a Comment