您的位置:首页 > 运维架构

System.Runtime.InteropServices.COMException

2014-10-30 11:32 393 查看
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {79A2867E-EA02-4683-8199-ED426387BA05} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

今天使用COM interop的时候,碰到了下面这个错误,研究了很久。在浏览下面这个网页的时候,找到了解决方案。
http://stackoverflow.com/questions/4663994/system-runtime-interopservices-comexception-0x80040154
在IIS7的Application Pools中,选中对应的应用程序池 -> Advanced Settings... -> Set the value of "Enable 32-Bit Applications" to True.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐