您的位置:首页 > 产品设计 > UI/UE

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

2011-05-09 19:11 921 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐