How to fix the bug: Retrieving the COM class factory for component with CLSID{00000000-...} faild due to the following error: 80

The bug: Retrieving the COM class factory for component with CLSID{00000000-...} faild due to the following error: 80040154 shows that you can't use some of the COM+, component.

That typically caused by that the DLL not been registerd correctly, you can use the cmd of "Regsvr32.exe" to register it.

 

But in this post, I'd like share with you the ohter case - you must use a 32-bit dll in a 64-bit OS, and fortunately you application is a WEB app, your IIS version is 7. You can follow up below approach to fix the exception.

It because that a 32 bit app cannot be used in a 64 bit OS directly, refer the post: http://www.dnjonline.com/article.aspx?id=jun07_access3264

 

For IIS we can change some app pool setting to enable 32 bit apps in 64 bit OS, refer the post: http://learn.iis.net/page.aspx/201/32-bit-mode-worker-processes/

 

If you just only want one of your app to enable the 32-bit, you can just change the related APP pool set the configuration of “Enable 32-bit applications” to Ture.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值