无法将类型为“System.DBNull”的对象强制转换为类型“System.String”。 10
异常详细信息:System.InvalidCastException:无法将类型为“System.DBNull”的对象强制转换为类型“System.String”。源错误...
异常详细信息: System.InvalidCastException: 无法将类型为“System.DBNull”的对象强制转换为类型“System.String”。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[InvalidCastException: 无法将类型为“System.DBNull”的对象强制转换为类型“System.String”。]
HBEG.Service.SMC.Model.BizSysRow.get_BizID() +127
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。[StrongTypingException: 表“BizSys”中列“BizID”的值为 DBNull。]
HBEG.Service.SMC.Model.BizSysRow.get_BizID() +201
HBEG.Common.<>c__DisplayClass18.<GetAServiceUrl>b__13(<>f__AnonymousType3`2 <>h__TransparentIdentifiere) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Common\CommonFun.cs:114
System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +167
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +7675236
System.Linq.Enumerable.ToList(IEnumerable`1 source) +61
HBEG.Common.CommonFun.GetAServiceUrl(String bizCode, String sysFlag, String serviceKey) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Common\CommonFun.cs:110
HBEG.Common.CommonFun.GetBizDefSysWCFClient(String bizID, String serviceKey) in
E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Common\CommonFun.cs:247
HBEG.Common.Business.Environment.DataCache.BizInstanceManager.CheckBizInst(String bizInstID) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\DataCache\BizInstanceManager.cs:124
HBEG.Common.Business.Environment.DataCache.BizInstanceManager..ctor(String bizInstID) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\DataCache\BizInstanceManager.cs:24
HBEG.Common.Business.Environment.Access.GetABizInstance(String bizInstID) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\Access.cs:148
HBEG.Common.Business.Environment.Access.SetBizInstance(String biid) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\Access.cs:105
HBEG.Common.Business.BizWebUI.BITask.BITaskTrans.InitEnviroment(String biid, String taskId, BITaskTransType transType) +41
HBEG.Common.Business.BizWebUI.BITask.BITaskTrans.Page_Load(Object sender, EventArgs e) +576
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 展开
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[InvalidCastException: 无法将类型为“System.DBNull”的对象强制转换为类型“System.String”。]
HBEG.Service.SMC.Model.BizSysRow.get_BizID() +127
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。[StrongTypingException: 表“BizSys”中列“BizID”的值为 DBNull。]
HBEG.Service.SMC.Model.BizSysRow.get_BizID() +201
HBEG.Common.<>c__DisplayClass18.<GetAServiceUrl>b__13(<>f__AnonymousType3`2 <>h__TransparentIdentifiere) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Common\CommonFun.cs:114
System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +167
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +7675236
System.Linq.Enumerable.ToList(IEnumerable`1 source) +61
HBEG.Common.CommonFun.GetAServiceUrl(String bizCode, String sysFlag, String serviceKey) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Common\CommonFun.cs:110
HBEG.Common.CommonFun.GetBizDefSysWCFClient(String bizID, String serviceKey) in
E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Common\CommonFun.cs:247
HBEG.Common.Business.Environment.DataCache.BizInstanceManager.CheckBizInst(String bizInstID) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\DataCache\BizInstanceManager.cs:124
HBEG.Common.Business.Environment.DataCache.BizInstanceManager..ctor(String bizInstID) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\DataCache\BizInstanceManager.cs:24
HBEG.Common.Business.Environment.Access.GetABizInstance(String bizInstID) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\Access.cs:148
HBEG.Common.Business.Environment.Access.SetBizInstance(String biid) in E:\MY_Project\HeBei\04-Code\05-Common\01-Assembly\Business\Environment\Access.cs:105
HBEG.Common.Business.BizWebUI.BITask.BITaskTrans.InitEnviroment(String biid, String taskId, BITaskTransType transType) +41
HBEG.Common.Business.BizWebUI.BITask.BITaskTrans.Page_Load(Object sender, EventArgs e) +576
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询