Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error:
2014-02-11 14:00
956 查看
Issue:
Retrieving the COM class factory for component withCLSID {xxxx} failed due to the following error: 80040154Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Solutions:
1.registered the DLL using the regsvr32 command.
The easiest resolution to find a version ofqedit.dll from a version of Windows that does include it, such as Windows XP,Vista, 7 or 8 (basically, any non-server OS).Copy the qedit.dll file to theC:\Windows\system32 directory of
your server OS.
32-bit (x86): C:\Windows\system32
64-bit (x64): C:\Windows\SysWOW64
Run the following command at the command promptas administrator: regsvr32 C:\Windows\system32\qedit.dll.
2. If above method does not solve your issue, please use thismethod.
In VS - project properties - in the Build tab - platform target=X86
3. If above methods does not solve your issue still. You canun-install related dll/exe and then re-install it again.
That’s it! Your program should now be able to load thecomponent and function as expected.
Retrieving the COM class factory for component withCLSID {xxxx} failed due to the following error: 80040154Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Solutions:
1.registered the DLL using the regsvr32 command.
The easiest resolution to find a version ofqedit.dll from a version of Windows that does include it, such as Windows XP,Vista, 7 or 8 (basically, any non-server OS).Copy the qedit.dll file to theC:\Windows\system32 directory of
your server OS.
32-bit (x86): C:\Windows\system32
64-bit (x64): C:\Windows\SysWOW64
Run the following command at the command promptas administrator: regsvr32 C:\Windows\system32\qedit.dll.
2. If above method does not solve your issue, please use thismethod.
In VS - project properties - in the Build tab - platform target=X86
3. If above methods does not solve your issue still. You canun-install related dll/exe and then re-install it again.
That’s it! Your program should now be able to load thecomponent and function as expected.
相关文章推荐
- 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 {000209FF-XXX} failed due to the following error: 80070005 Access is denied.
- 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 {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 {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 {000209FF-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 {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005
- 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 拒绝访问
- How to fix the bug: Retrieving the COM class factory for component with CLSID{00000000-...} faild due to the following error: 80
- 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 {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.(转载)
- Creating An Instance Of The Com Component With Clsid {b9425246-4131-11d2-be48-004005a04edf} From The Iclassfactory Failed Due To The Following Error
- C# - (0x80040154): Retrieving the COM class factory for component with CLSID {877AA945-1CB2-411C-ACD7-C70B1F9E2E32} failed
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed(转)