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 150:            
Line 151:			db.AddParameter("@articleid", t_articleid);
Line 152:            ds = db.ExecuteDataSet(str_sql);
Line 153:            
Line 154:        }

Source File: c:\inetpub\vhosts\indiaempire.com\httpdocs\singleimage.aspx    Line: 152

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.singleimage_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\indiaempire.com\httpdocs\singleimage.aspx:152
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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