Server Error in '/' Application.

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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Source Error:


Line 32:             Dim prop As PROP_Properties = New PROP_Properties
Line 33:             prop.Where.PROP_ID.Value = intPropID
Line 34:             prop.Query.Load()
Line 35:             If prop.RowCount > 0 Then
Line 36:                 If prop.PROP_ResaleProperty Then

Source File: C:\inetpub\wwwroot\shadowvalleyinfo.com\wwwroot\MasterPlan.aspx.vb    Line: 34

Stack Trace:


[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
   MyGeneration.dOOdads.DynamicQuery.Load(String conjuction) in D:\dev\DesignWorks\ShadowValley\MyGeneration.dOOdads\DynamicQuery.vb:72
   MasterPlan.LoadMap() in C:\inetpub\wwwroot\shadowvalleyinfo.com\wwwroot\MasterPlan.aspx.vb:34
   MasterPlan.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\shadowvalleyinfo.com\wwwroot\MasterPlan.aspx.vb:24
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9164; ASP.NET Version:2.0.50727.9161