asp.net com 80040154 Class not registered

http://www.cnblogs.com/hgblog/archive/2013/02/02/2890298.html


在部署一个含有com组件引用的asp.net站点的时候,总是提示下面的错误

Retrieving the COM class factory for component with CLSID {OMMITTED3F344F00E93D} failed due to the following error: 80040154 Class not registered,

但是我写一个控制台程序,引用同一个com,却可以成功,这应该是IIS上的啥设置没有正确。

于是在网上搜索“ASP.NET error 80040154 Class not registered”,有人说是设置应用程序池,

即在应用程序池的高级设置里面allow 32-bit applicationse为true。

猜你喜欢

转载自maxer025.iteye.com/blog/2395143