本文介绍了当我查找数据时,我收到此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ErrorSystem.Data.SqlClient.SqlException:超时已过期。 完成 操作或服务器 不响应。在System.Data.SqlClient.SqlConnection.OnError(SqlException异常,布尔 breakConnection)处于System.Data.SqlClient.SqlInternalConnection.OnError(SqlException异常, Boolean breakConnection stateObj)System.Data.SqlClient.SqlDataReader.ConsumeMetaData()在System.Data.SqlClient.SqlDataReader.get_MetaData()处于System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,RunBehavior runBehavior, String resetOptionsString(CommandBehavior cmdBehavior,RunBehavior runBehavior, Boolean returnStream, Boolean async )(CommandBehavior cmdBehavior,RunBehavior runBehavior, Boolean returnStream,字符串方法,DbAsyncResult结果)在System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,RunBehavior runBehavior, Boolean returnStream, String 方法) System.Data.Common上System.Data.Comb.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)的System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior行为)中的关键字> String 方法 .DbDataAdapter.FillInternal(DataSet数据集,DataTable [] datatables, Int32 startRecord, Int32 System.Data.Common.DbDataAdapter.Fill中的maxRecords,字符串 srcTable,IDbCommand命令,CommandBehavior行为)(DataSet dataSet, Int32 在System.Data中的startRecord, Int32 maxRecords,字符串 srcTable,IDbCommand命令,CommandBehavior行为) .Common.DbDataAdapter.Fill(DataSet dataSet)位于Admin_BranchWiseReport.BindGrid()位于 d:\inetpub \vhosts \shriwinagro.com \ httpdocs \ Admin \ BranchWiseReport.aspx.cs:line 340
im得到此错误当我寻找2个月之间的数据。但是当我寻找1个月时它的工作..为什么这个错误..
解决方案
这篇关于当我查找数据时,我收到此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!