在将 varchar 值 '5a7821a44c2aaf' 转换成数据类型 int 时失败。
金蝶云社区-云社区用户CCua5405
云社区用户CCua5405
0人赞赏了该文章 2,595次浏览 未经作者许可,禁止转载编辑于2018年04月10日 09:36:58

在将 varchar 值 '5a7821a44c2aaf' 转换成数据类型 int 时失败。
[{"operation":"BOS_ASSISTANTDATA_DETAIL_List.AfterConfirm"}]
发生时间: 09:23:55
错误编号: 1edb6e33e4624a45af278847e0fbc281
错误信息: 在将 varchar 值 '5a7821a44c2aaf' 转换成数据类型 int 时失败。
===================================================
调用堆栈:

Server 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.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at Kingdee.BOS.App.Core.BaseDataService.GetExitsDataRefResults(Context ctx, String baseDataFromId, BaseDataRefItem data, Object[] ids, Type pkType, Int32 resultCount)
at Kingdee.BOS.App.Core.BaseDataService.CheckBaseDataRefInfo(Context ctx, String baseDataFromId, Object[] ids, Type pkType, List`1 exceptItems, Int32 resultCount)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IBaseDataService.CheckBaseDataRefInfo(Context ctx, String baseDataFromId, Object[] ids, Type pkType, List`1 exceptItems, Int32 resultCount)
at Kingdee.BOS.App.Core.Validation.BaseDataRefValidator.Validate(ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Context ctx)
at Kingdee.BOS.App.Core.Validation.ValidationService.Validate(IEnumerable`1 dataEntities, ValidateContext validateContext, AbstractValidator[] validators)
at Kingdee.BOS.App.Core.Validation.ValidationService.TryValidate(IEnumerable`1 dataEntities, ValidateContext validateContext, List`1& errorInfo)
at Kingdee.BOS.App.Core.AbstractOprerationService.TryValidate()
at Kingdee.BOS.App.Core.AbstractOprerationService.Validate()
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(Object[] ids)
at Kingdee.BOS.App.Core.DeleteService.Delete(Context ctx, BusinessInfo info, Object[] Ids, OperateOption option, String operationNumber)

Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IDeleteService.Delete(Context ctx, BusinessInfo info, Object[] Ids, OperateOption option, String operationNumber)
at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Delete(Context ctx, BusinessInfo businessInfo, Object[] Ids, OperateOption option, String operationNumber)
at Kingdee.BOS.Business.Bill.Operation.Delete.b__6(String[] ids, OperateOption option, List`1 paras)
at Kingdee.BOS.Business.Bill.Operation.AbstractDynamicFormOperationExt.DoBatOperate(BatOperate batFun, Int32 loopTimes, Int32 iBat, String[] ids, IOperationResult fullResult, List`1 paras)
at Kingdee.BOS.Business.Bill.Operation.Delete.DoListDelete(IOperationResult fullResult)
at Kingdee.BOS.Business.Bill.Operation.Delete.ExecuteOperation()
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.<>c__DisplayClass2b.b__23(MessageBoxResult result)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.AfterConfirm(String id, Int32 returnOption)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.AfterConfirm(String id, Int32 returnOpti
删除辅助资料报错