采购入库核算报错
金蝶云社区-yvan_peng
yvan_peng
0人赞赏了该文章 724次浏览 未经作者许可,禁止转载编辑于2017年02月14日 10:58:43

在进行存货核算--采购入库核算时报错,

错误提示如下:(做过一下测试,重启服务器和设置索引)

异步任务执行失败System.AggregateException: One or more errors occurred. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
语句已终止。 ---> System.ComponentModel.Win32Exception: 等待的操作过时。
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Kingdee.BOS.App.Data.Sql.SqlDatabase.DoBatchExecute(BatchSqlParam param, String where, StringBuilder sql, String tempTabAliases)
at Kingdee.BOS.App.Data.Sql.SqlDatabase.BatchUpdate(BatchSqlParam param, String where)
at Kingdee.BOS.App.Data.DBUtils.BatchUpdate(Context ctx, BatchSqlParam param, String where)
at Kingdee.K3.FIN.HS.App.Core.StorageAccount.MutiPushCalIn.UpdateData.UpdateSrcStockBillData(Context ctx, List`1 stockHookDataList, StorageAccountParaEx storagePara, List`1 instockConfigList)
at Kingdee.K3.FIN.HS.App.Core.StorageAccount.MutiPushCalIn.MutiPushCal.UpdateStockBillData()
at Kingdee.K3.FIN.HS.App.Core.StorageAccount.MutiPushCalIn.MutiPushCal.CaculateCost(Context ctx, StorageAccountPara para)
at Kingdee.K3.FIN.HS.App.Core.HookService.DoCalMaterialCostForMutiPush(Context ctx, StorageAccountPara storagePara)
at Kingdee.K3.FIN.HS.App.Core.HookService.HookCalForList(Context ctx, StorageAccountPara storagePara, List`1 lstHookID)
at Kingdee.K3.FIN.HS.App.Core.HookService.WizardCalMaterialCost(Context ctx, List`1 paraList, Boolean autoCalOtherData)
at Kingdee.K3.FIN.HS.ServiceHelper.HookServiceHelper.WizardCalMaterialCost(Context ctx, List`1 para)
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
语句已终止。 ---> System.ComponentModel.Win32Exception (0x80004005): 等待的操作过时。
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Kingdee.BOS.App.Data.Sql.SqlDatabase.DoBatchExecute(BatchSqlParam param, String where, StringBuilder sql, String tempTabAliases)
at Kingdee.BOS.App.Data.Sql.SqlDatabase.BatchUpdate(BatchSqlParam param, String where)
at Kingdee.BOS.App.Data.DBUtils.BatchUpdate(Context ctx, BatchSqlParam param, String where)
at Kingdee.K3.FIN.HS.App.Core.StorageAccount.MutiPushCalIn.UpdateData.UpdateSrcStockBillData(Context ctx, List`1 stockHookDataList, StorageAccountParaEx storagePara, List`1 instockConfigList)
at Kingdee.K3.FIN.HS.App.Core.StorageAccount.MutiPushCalIn.MutiPushCal.UpdateStockBillData()
at Kingdee.K3.FIN.HS.App.Core.StorageAccount.MutiPushCalIn.MutiPushCal.CaculateCost(Context ctx, StorageAccountPara para)
at Kingdee.K3.FIN.HS.App.Core.HookService.DoCalMaterialCostForMutiPush(Context ctx, StorageAccountPara storagePara)
at Kingdee.K3.FIN.HS.App.Core.HookService.HookCalForList(Context ctx, StorageAccountPara storagePara, List`1 lstHookID)
at Kingdee.K3.FIN.HS.App.Core.HookService.WizardCalMaterialCost(Context ctx, List`1 paraList, Boolean autoCalOtherData)
at Kingdee.K3.FIN.HS.ServiceHelper.HookServiceHelper.WizardCalMaterialCost(Context ctx, List`1 para)
at System.Threading.Tasks.Task.Execute()
ClientConnectionId:4e5f48cb-e300-4c8c-a0f7-414e1fae8d4f
Error Number:-2,State:0,Class:11<---