[InvalidOperationException: 已有打开的与此 Command 相关联的 DataReader,必须首先将它关闭。]
System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command) +2588385
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +310
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) +155
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +83
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +198
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +455
[EntityCommandExecutionException: 执行命令定义时出错。有关详细信息,请参阅内部异常。]
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +659
System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute(ObjectContext context, ObjectParameterCollection parameterValues) +911
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +212
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +40
BroSoft.DataAccess.QKnowledge.DAL.QTypeDAL.GetQTypesWithCount(Int32 partentID) +609
BroSoft.DataAccess.QKnowledge.DAL.QTypeDAL.GetQTypesWithCount(Int32 partentID) +779
BroSoft.DataAccess.QKnowledge.BLL.QTypeBLL.GetAllTypes() +72
Web.Models.HomeBrowseModel..ctor(Int32 typeid, Int32 pageno, Int32 pagesize, IQIndex qIndexObject, IQType qTypeObject) +179
Web.Controllers.HomeController.Browse(String id) +482
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) +454
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +709
System.Web.Mvc.Controller.ExecuteCore() +264
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +188
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88
|