sql server 2005 - Linq failing to connect... or is it? -


I have a web-application that receives the following while trying to connect to a hosted database on another server Used to be.

A network related or instance-specific error occurred while setting up a connection to SQL Server. The server was not found or was not accessible. Verify that the example name is correct and SQL Server is configured to allow remote connection. (Provider: Named Pipes Provider, Error: 40 - Can not open connection to SQL Server)

Now, here is the problem that the connection string and server path fields are all correct.

  1. The site runs properly while running through Cassini on my local machine. (The connection strings are correct.)
  2. Other sites hosted on the same server are able to access the database. (Server Path Era All Active.)
  3. An error says that it was unable to connect, is aware of the Activity Monitor query, and server logs Do not show any errors (just strangely.)

Google & amp; Bing has been unsuccessful with this, so I think it's time to kill the pile! Open SQL Server Configuration Manager, expand SQL Server 2005 network configuration, & lt;

Click on Protocol; Yourserverinstance & gt; , then check TCP / IP is enabled.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -