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.
今天使用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.
相关文章推荐
- VS 2008 打开 WebApplication 报 System.Runtime.InteropServices.COMException 错误
- System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800AC472
- 关于System.Runtime.InteropServices.COMException (0x80070006): 句柄无效的问题
- System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU
- System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800AC472
- 关于system.runtime.interopservices.comexception(0x800A1066)的问题
- System.Runtime.InteropServices.COMException (0x800706BA) 解决方法
- 错误:system.runtime.interopservices.comexception (0x80040154)
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- System.Runtime.InteropServices.COMException 检索COM类工厂中CLSID{xxxxxxxxx}的组件时失败解决方法
- arcgis二次开发遇到System.Runtime.InteropServices.COMException (0x80040228) :异常来自HRESULT:0x80040228
- System.Runtime.InteropServices.COMException (0x8004E00F): COM+ 无法与 Microsoft 分布式事务协调程序交谈 (异常来自 HRESU
- System.Runtime.InteropServices.COMException 检索COM类工厂中CLSID{xxxxxxxxx}的组件时失败解决方法
- System.Runtime.InteropServices.COMException (0x80004005): 无法创建目录或文件
- System.Runtime.InteropServices.COMException: 检索 COM 类工厂中 CLSID 为 {0002E510-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 80040154
- 验证配置设置时发生错误,已引发类型为System.Runtime.InteropServices.COMException的异常。其他异常信息:系统找不到指定的路径
- 异常详细信息:System.Runtime.InteropServices.COMException: 此事务已明地或暗地被确认或终止
- System.Runtime.InteropServices.COMException The Product License has not been initialized. ESRI GeoDatabase
- 完美解决“换另一台电脑上用VS2008继续开发web项目时出现“System.Runtime.InteropServices.COMException”,然后是加载不了项目。”
- System.Runtime.InteropServices.COMException (0x800A03EC)