Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error:

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.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值