Server Error in '/' 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 45:         MySQL = MySQL + WhereSQL + OrderByClause;
Line 46: 
Line 47:         dtApp = MyLib.GetDataFromSQLOnly(MySQL);
Line 48:         dtApp.Dispose();
Line 49: 

Source File: e:\inetpub\vhosts\sainiworld.com\httpdocs\Website\IndividualDetails.aspx.cs    Line: 47

Stack Trace:


[SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   SSBusiness.SqlDataAccess.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in d:\WebDevelopment\WebsiteAdmin\Business\SqlDataAccess.cs:487
   JITDefinitions.MyLib.GetDataFromSQLOnly(String SQLStr) in d:\WebDevelopment\WebsiteAdmin\Business\MyLib.cs:214
   Website_IndividualDetails.MiddleRight() in e:\inetpub\vhosts\sainiworld.com\httpdocs\Website\IndividualDetails.aspx.cs:47
   Website_IndividualDetails.Page_Load(Object sender, EventArgs e) in e:\inetpub\vhosts\sainiworld.com\httpdocs\Website\IndividualDetails.aspx.cs:23
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Web.UI.Control.LoadRecursive() +50
   System.Data.SqlClient.SqlConnection.Open() +122
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
   SSBusiness.SqlDataAccess.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in d:\WebDevelopment\WebsiteAdmin\Business\SqlDataAccess.cs:487
   JITDefinitions.MyLib.GetDataFromSQLOnly(String SQLStr) in d:\WebDevelopment\WebsiteAdmin\Business\MyLib.cs:214
   Website_IndividualDetails.MiddleRight() in e:\inetpub\vhosts\sainiworld.com\httpdocs\Website\IndividualDetails.aspx.cs:47
   Website_IndividualDetails.Page_Load(Object sender, EventArgs e) in e:\inetpub\vhosts\sainiworld.com\httpdocs\Website\IndividualDetails.aspx.cs:23
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975