这两天突然出现这个问题
哪位大神知道的,指点一下
ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
[{"operation":"AF_BillAssignment.MBIClick.tbWFSubmit"}]
发生时间: 15:00:37
错误编号: 9bf376a8134b48b48f75df9874fc8cae
错误信息: ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
===================================================
调用堆栈:
Server stack trace:
在 System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
在 Kingdee.BOS.App.Data.AbstractDatabase.DoExecuteReader(DbCommand command, CommandBehavior cmdBehavior)
在 Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior, Boolean bNewCn)
在 Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, CommandBehavior cmdBehavior, Boolean bNewCn)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, Boolean bNewCn)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, SqlParam param)
在 Kingdee.BOS.App.Core.MetaDataLoadService.InitialContext()
在 Kingdee.BOS.App.Core.MetadataXmlReader.LoadFromCache(String id, Boolean bGetBaseObject, Int32 modelTypeId)
在 Kingdee.BOS.App.Core.MetadataXmlReader.Load(String id, Boolean runtime, Boolean loadEmbedRefObject, Boolean getBaseObject, Int32 modeltypeId, Boolean isLoadSubObject)
在 Kingdee.BOS.App.Core.MetaDataService.Load(Context ctx, String id, String layoutViewId, Boolean bRuntime)
在 Kingdee.BOS.App.Core.MetaDataService.Load(Context ctx, String id, Boolean bRuntime)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.LoadFormMetadata(String formId)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.LoadEntityTableNumber(WriteBackRuleElement ruleElement, Boolean& isHeadEntity)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.BuildRuleMapping(IDynamicFormModel model, WriteBackRuleElement rule)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.CreateArticulationRowWriteBackRow(IDynamicFormModel model, Row`1 row, WriteBackRuleElement rule)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.CreateArticulationRowWriteBackRows(IDynamicFormModel model, Row`1 row)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.CreateSheetWriteBackRows(IDynamicFormModel model, AED`1 aed)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.DoWriteBack(Sheets`1 sheets, AED`1 aed)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTracker`1.WriteDataToDB(BusinessFlowInstanceCollection newInstances, BusinessFlowTrackerCollection trackerRows, Sheets`1 sheets, Sheets`1 snapshot, AED`1 aed)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTracker`1.Save(Sheets`1 sheets)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTrackerApply.Save(DynamicObject[] dataObjects, String operationNumber)
在 Kingdee.BOS.App.Core.Save.SaveConvertData(DynamicObject[] dataObject)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
在 Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)
在 Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)
Exception rethrown at [0]:
在 Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Save(Context ctx, BusinessInfo businessInfo, DynamicObject dataObject, OperateOption option, String operationNumber)
在 Kingdee.BOS.Model.Bill.BillModel.Save(OperateOption option)
在 Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.SubmitValidate(OperateOption option)
在 Kingdee.BOS.Workflow.PlugIns.AssignApprovalBaseEdit.Submit(OperateOption option)
在 Kingdee.BOS.ApprovalFlow.PlugIns.ApprovalAssignmet.ApprovalAssignDeal.BarItemClick(BarItemClickEventArgs e)
在 Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireBarItemClick(BarItemClickEventArgs e)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)