[InvalidOperationException: 已有打开的与此 Command 相关联的 DataReader,必须首先将它关闭。]
System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command) +1726942
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +314
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) +156
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +84
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +207
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +478
[EntityCommandExecutionException: 执行命令定义时出错。有关详细信息,请参阅内部异常。]
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +692
System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute(ObjectContext context, ObjectParameterCollection parameterValues) +947
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +218
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +41
BroSoft.DataAccess.QKnowledge.DAL.QTypeDAL.GetQTypesWithCount(Int32 partentID) +629
BroSoft.DataAccess.QKnowledge.DAL.QTypeDAL.GetQTypesWithCount(Int32 partentID) +805
BroSoft.DataAccess.QKnowledge.BLL.QTypeBLL.GetAllTypes() +72
Web.Models.HomeBrowseModel..ctor(Int32 typeid, Int32 pageno, Int32 pagesize, IQIndex qIndexObject, IQType qTypeObject) +185
Web.Controllers.HomeController.Browse(String id) +483
lambda_method(Closure , ControllerBase , Object[] ) +91
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +269
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
System.Web.Mvc.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7() +80
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +710
System.Web.Mvc.Controller.ExecuteCore() +267
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +195
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93
|