Server Error in '/' Application.

The wait operation timed out

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 wait operation timed out

Source Error:


Line 132:			
Line 133:			db.AddParameter("@articleid", t_articleid);
Line 134:            DataSet dsi = db.ExecuteDataSet("select articleid, articlesourceid, refarticleid, redirecturl, sectionid from articles where articleid=@articleid");
Line 135:            if (dsi.Tables[0].Rows.Count == 0)
Line 136:                Response.Redirect("/", true);

Source File: c:\inetpub\vhosts\indiaempire.com\httpdocs\article.aspx    Line: 134

Stack Trace:


[Win32Exception (0x80004005): The wait operation timed out]

[SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=1; handshake=15053; ]
   livenews.classes.DatabaseHelper.HandleExceptions(Exception ex) +230
   livenews.classes.DatabaseHelper.ExecuteDataSet(String query, CommandType commandtype, ConnectionState connectionstate) +355
   livenews.classes.DatabaseHelper.ExecuteDataSet(String query) +68
   ASP.article_aspx.Page_Init(Object sender, EventArgs e) in c:\inetpub\vhosts\indiaempire.com\httpdocs\article.aspx:134
   System.Web.UI.Control.OnInit(EventArgs e) +106
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +166
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1598


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