“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------超时时间已到。在操作完成之前超时时间已过或服务器未响应。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.SqlClient.SqlException: 超时时间已到。在操作完成之前超时时间已过或服务器未响应。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[SqlException (0x80131904): 超时时间已到。在操作完成之前超时时间已过或服务器未响应。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
System.Data.SqlClient.SqlDataReader.get_MetaData() +83
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
HOSoft.Herp4.Framework.SQLHelper.QuerySP(String connectionString, String beforeSQLString, String SQLString, HerpSqlPager hspPager) in E:\Herp4.0\hfx4\SQLHelper.cs:413
HOSoft.Herp4.DAL.House.CustomerConsignUtil.Search(Int64 CurrentCompanyID, HerpSearch SearchXml, HerpSqlPager SqlPager, Boolean Detail) +34052
HOSoft.Herp4.BLL.House.CustomerConsign.Search(Int64 CurrentCompanyID, HerpSearch SearchXML, HerpSqlPager SqlPager, Boolean Detail) +101
HOSoft.Herp4.Web.UI.House.CustomerConsignList.GetData() +13589
HOSoft.Herp4.Web.UI.WebControls.HSGridViewSP.GetCachedData(Boolean Reload) in E:\Herp4.0\hwc4\Grid\HSGridViewSP.cs:488
HOSoft.Herp4.Web.UI.WebControls.HSGridViewSP.OnPageIndexChanging(GridViewPageEventArgs e) in E:\Herp4.0\hwc4\Grid\HSGridViewSP.cs:250
System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage) +86
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +464
System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument) +207
System.Web.UI.WebControls.GridView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
请问经常出现如此是怎么回事?
--------------------------------------------------------------------------------超时时间已到。在操作完成之前超时时间已过或服务器未响应。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.SqlClient.SqlException: 超时时间已到。在操作完成之前超时时间已过或服务器未响应。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪:
[SqlException (0x80131904): 超时时间已到。在操作完成之前超时时间已过或服务器未响应。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950890
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
System.Data.SqlClient.SqlDataReader.get_MetaData() +83
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
HOSoft.Herp4.Framework.SQLHelper.QuerySP(String connectionString, String beforeSQLString, String SQLString, HerpSqlPager hspPager) in E:\Herp4.0\hfx4\SQLHelper.cs:413
HOSoft.Herp4.DAL.House.CustomerConsignUtil.Search(Int64 CurrentCompanyID, HerpSearch SearchXml, HerpSqlPager SqlPager, Boolean Detail) +34052
HOSoft.Herp4.BLL.House.CustomerConsign.Search(Int64 CurrentCompanyID, HerpSearch SearchXML, HerpSqlPager SqlPager, Boolean Detail) +101
HOSoft.Herp4.Web.UI.House.CustomerConsignList.GetData() +13589
HOSoft.Herp4.Web.UI.WebControls.HSGridViewSP.GetCachedData(Boolean Reload) in E:\Herp4.0\hwc4\Grid\HSGridViewSP.cs:488
HOSoft.Herp4.Web.UI.WebControls.HSGridViewSP.OnPageIndexChanging(GridViewPageEventArgs e) in E:\Herp4.0\hwc4\Grid\HSGridViewSP.cs:250
System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage) +86
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +464
System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument) +207
System.Web.UI.WebControls.GridView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
请问经常出现如此是怎么回事?
解决方案 »
- 如何隐藏winrar窗口
- DataGridview 是winform的如何给DataGridview最后一行加上合计或者统计行呢?统计总金额?
- 急!!! 求微软认证真题(最新!!)
- 报表问题 水晶报表
- 大家帮忙看看我这程序哪错了?
- 用DataSet取Excel中的数据时,数据项以0开头的为何读不进阿?如何才能读进,盼望赐教!
- ??急等版主和高手朋友帮解决一个精典的SQL语句问题,谢谢!题干在内容中有详细说明!
- 在浏览器中打开excel或者word文档时如何实现打印预览?
- 自定义的集合如何绑给datagrid?100分求救!
- 《算经》中百钱百鸡问题,欢迎讨论算法!
- InvalidArgument=“-1”的值对于“index”无效。
- 用什么开发网站利于百度搜索引擎
建议在连接数据库的地方加 try catch异常判断 方便找到错误问题