So this is very off topic from everything else, but I'm bored and am wondering if anyone can solve this puzzle based on the code I pulled from the error (on line 159): Code: Server Error in '/HomeAccess' Application. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. 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: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Source Error: Line 157: End If Line 158: dbDataAdapter = spidbComm.CreateDataAdapter() Line 159: dbDataAdapter.Fill(dsContacts) Line 160: Return dsContacts.Tables(0) Line 161: Finally Source File: C:\program files\Sungard Public Sector\Home Access Center 2.5\App_Code\Modules\HACLogin.vb Line: 159 Stack Trace: [SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2811 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +87 System.Data.SqlClient.SqlDataReader.get_MetaData() +141 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +2496340 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +2498289 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +211 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +19 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +221 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +573 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +166 HomeAccess.HACLogin.GetContacts(Int32 district, Int32 contactId, String loginId, String email) in C:\program files\Sungard Public Sector\Home Access Center 2.5\App_Code\Modules\HACLogin.vb:159 HomeAccess.HACLogin.GetContacts(Int32 district, Int32 contactId, String loginId) in C:\program files\Sungard Public Sector\Home Access Center 2.5\App_Code\Modules\HACLogin.vb:137 HomeAccess.HACLogin.GetContacts(Int32 district, Int32 contactId) in C:\program files\Sungard Public Sector\Home Access Center 2.5\App_Code\Modules\HACLogin.vb:127 HomeAccess.HACLoginContact..ctor(Int32 pintDistrict, Int32 pintContactId) in C:\program files\Sungard Public Sector\Home Access Center 2.5\App_Code\Classes\HACLoginContact.vb:185 HomeAccess.Login.AttemptLogin(XmlNode& pnodDistrict, String pstrLogin, String pstrPassword, String pstrLoginType) in C:\program files\Sungard Public Sector\Home Access Center 2.5\default.aspx.vb:1506 HomeAccess.Login.AttemptLogin(XmlNode& pnodDistrict, String pstrLogin, String pstrPassword) in C:\program files\Sungard Public Sector\Home Access Center 2.5\default.aspx.vb:1220 HomeAccess.Login.AttemptLogin() in C:\program files\Sungard Public Sector\Home Access Center 2.5\default.aspx.vb:1216 HomeAccess.Login.Submit1_ServerClick(Object sender, EventArgs e) in C:\program files\Sungard Public Sector\Home Access Center 2.5\default.aspx.vb:1212 System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) +115 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981 Version Information: Microsoft .NET Framework Version:2.0.50727.4253; ASP.NET Version:2.0.50727.4252 As you can see, there's an error of some sort and my school IT's aren't good enough to figure it out.
Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Looks like the web server just can't connect to the database. Have you tried turning it off and then on again?
Either the database is down or maybe whatever you want to do is an operation that takes so damn long (probably because the application has a performance bug) that it times out.