做成本计算时提示:Message:Timeout expired.
1人赞赏了该文章
517次浏览
编辑于2018年06月19日 12:14:27
Message:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.;StackTrace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
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)
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.App.Core.OutAcctg.BulkInsert.BulkClass.OutStockSeqDataBulk.DoBulkUpdate(Dictionary`2 bulkUpdateDataTable)
at Kingdee.K3.FIN.App.Core.OutAcctg.BulkInsert.CostBulkInsert.CommitBulkUpdate()
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.SaveBatchForDimList(Context ctx, OutStockAcctgParameters acctgParameters, CostBulkInsert costBulkObj, Dictionary`2 dictValuationMethodParameter)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.OutStockAcctgBatchCal(Context ctx, OutStockAcctgParameters acctgParameters, Dictionary`2 updateSoureInfo)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.OutStockAcctg(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.Execution[T](Context ctx, T acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.LevelCaling(CostCalParameters acctgParameters, Context bosctx, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionCostCal(CostCalGlobalContext costCalGlobalContext, Context bosctx, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.CostCal(ComputeContext ctx, CostCalGlobalContext costCalGlobalContext)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
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)
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.App.Core.OutAcctg.BulkInsert.BulkClass.OutStockSeqDataBulk.DoBulkUpdate(Dictionary`2 bulkUpdateDataTable)
at Kingdee.K3.FIN.App.Core.OutAcctg.BulkInsert.CostBulkInsert.CommitBulkUpdate()
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.SaveBatchForDimList(Context ctx, OutStockAcctgParameters acctgParameters, CostBulkInsert costBulkObj, Dictionary`2 dictValuationMethodParameter)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.OutStockAcctgBatchCal(Context ctx, OutStockAcctgParameters acctgParameters, Dictionary`2 updateSoureInfo)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.OutStockAcctg(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.Execution[T](Context ctx, T acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.LevelCaling(CostCalParameters acctgParameters, Context bosctx, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionCostCal(CostCalGlobalContext costCalGlobalContext, Context bosctx, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.CostCal(ComputeContext ctx, CostCalGlobalContext costCalGlobalContext)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)