Server Error in '/' Application.

The semaphore timeout period has expired

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.ComponentModel.Win32Exception: The semaphore timeout period has expired

Source Error:


Line 77:         {
Line 78:             ds.Dispose();
Line 79:             throw (ex);
Line 80:         }
Line 81:     }

Source File: d:\web\jb\jb1\lm.aspx.cs    Line: 79

Stack Trace:


[Win32Exception (0x80004005): The semaphore timeout period has expired]

[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)]
   Detail.GetDataSetOnePa(String cmdText, String name, SqlDbType tp, Object value) in d:\web\jb\jb1\lm.aspx.cs:79
   Detail.bincookiebycid_() in d:\web\jb\jb1\lm.aspx.cs:87
   Detail.Page_Load(Object sender, EventArgs e) in d:\web\jb\jb1\lm.aspx.cs:15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0