码迷,mamicode.com
首页 > 其他好文 > 详细

System.Runtime.InteropServices.COMException

时间:2019-06-26 16:39:47      阅读:88      评论:0      收藏:0      [点我收藏+]

标签:control   obj   web   bool   提示   cal   rgs   成功   reg   

System.Runtime.InteropServices.COMException (0x80040154)
因为EncryptCom.dll 没有注册
解决办法:注册EncryptCom.dll
1.运行CMD,打开dos界面,并执行cd至根目录下
2.执行Regsvr32 EncryptCom.dll,成功后系统提示注册成功
3.技术图片
4.技术图片

报错详细信息:
用户代码未处理 System.Runtime.InteropServices.COMException
ErrorCode=-2147221164
Message=检索 COM 类工厂中 CLSID 为 {2117C896-98EE-4386-91C2-336B1BAA1F35} 的组件时失败,原因是出现以下错误: 80040154。
Source=EasyWF
StackTrace:
在 binx_process_default.Page_Load(Object sender, EventArgs e) 位置 D:\workspace\EasyWF测试\binx\process\default.aspx.cs:行号 19
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.Proce***equestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:

System.Runtime.InteropServices.COMException

标签:control   obj   web   bool   提示   cal   rgs   成功   reg   

原文地址:https://blog.51cto.com/14284699/2413667

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!