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

报错详细信息:
用户代码未处理 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: