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.
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.
相关文章推荐
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- Retrieving the COM class factory for component with CLSID … failed due to the following error: 80070005.
- 关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- C# Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005
- Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error:
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- 异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 拒绝访问
- office2010 x64 Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 800
- Retrieving the COM class factory for component with CLSID {000209FF-XXX} failed due to the following error: 80070005 Access is denied.
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- Retrieving the COM class factory for component with CLSID … failed due to the following error: 80070005.
- Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following err
- COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.(转载)
- Creating An Instance Of The Com Component With Clsid {b9425246-4131-11d2-be48-004005a04edf} From The Iclassfactory Failed Due To The Following Error
- System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID
- 【Excel】Retrieving the COM class factory for component with CLSID {00024500-0000-0000- C000-000000000046}: