“/”应用程序中的服务器错误。

已有打开的与此 Command 相关联的 DataReader,必须首先将它关闭。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: 已有打开的与此 Command 相关联的 DataReader,必须首先将它关闭。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[InvalidOperationException: 已有打开的与此 Command 相关联的 DataReader,必须首先将它关闭。]
   System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command) +289
   System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) +273
   System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +783
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +181
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +203
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +262
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +90
   System.Data.Common.DbCommand.ExecuteReader() +54
   System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) +2301
   System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) +319
   System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +878
   System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +105
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +929
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +170
   System.Data.Linq.Provider.BindingList.Create(DataContext context, IEnumerable`1 sequence) +131
   System.Data.Linq.DataQuery`1.GetNewBindingList() +133
   System.Data.Linq.DataQuery`1.System.ComponentModel.IListSource.GetList() +66
   System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) +140
   System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) +149
   System.Web.UI.WebControls.Repeater.ConnectToDataSourceView() +1986
   System.Web.UI.WebControls.Repeater.GetData() +64
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +406
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +126
   System.Web.UI.WebControls.Repeater.DataBind() +170
   dafanshu.control.RightUpdateX.Page_Load(Object sender, EventArgs e) +1129
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +217
   System.Web.UI.Control.OnLoad(EventArgs e) +226
   System.Web.UI.Control.LoadRecursive() +202
   System.Web.UI.Control.LoadRecursive() +358
   System.Web.UI.Control.LoadRecursive() +358
   System.Web.UI.Control.LoadRecursive() +358
   System.Web.UI.Control.LoadRecursive() +358
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3999


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.2623.0

亚洲城官网ca88亚洲城ca88官方网站亚洲城手机版官网