如何解决错误“检索具有CLSID的组件的COM类工厂{B4741E10-45A6-11D1-ABEC-00A0C9274B91}由于以下错误而失败:80040154。” [英] How to solve the error "Retrieving the COM class factory for component with CLSID {B4741E10-45A6-11D1-ABEC-00A0C9274B91} failed due to the following error: 80040154."

查看:97
本文介绍了如何解决错误“检索具有CLSID的组件的COM类工厂{B4741E10-45A6-11D1-ABEC-00A0C9274B91}由于以下错误而失败:80040154。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将VB6项目转换为vb.net 2005 ....在我的32位开发机器上它运行良好而没有任何错误。但是当我在我的客户端PC上安装相同的项目时,64-位,它显示以下错误:

I have converted VB6 project to vb.net 2005....On my development machine which is 32-bit it runs perfectly well without any error..But when I install the same project on my clients pc which is 64-bit, it shows the below error:

"System.TypeInitializationException: The type initializer for 'GPMilkatVera.MdlVar' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {B4741E10-45A6-11D1-ABEC-00A0C9274B91} failed due to the following error: 80040154.
   at GPMilkatVera.MdlVar..cctor()"





我发现CLSID {B4741E10-45A6-11D1-ABEC-00A0C9274B91}是一个名为CRAXDRT.DLL的dll ...同样在我的项目参考中我添加了这个dll ..我没有得到什么问题..请任意帮助我...我坚持到这里..



I found that CLSID {B4741E10-45A6-11D1-ABEC-00A0C9274B91} is a dll named "CRAXDRT.DLL"...Also in my projects references I have added this dll..I am not getting what is problem..Please can any1 help me...I stucked here..

推荐答案

Google搜索显示一些建议 [ ^ ]。
A Google search reveals a number of suggestions[^].


I'已经在这里回答了这个问题类未注册(HRESULT异常:0x80040154) (REGDB_E_CLASSNOTREG))在64位操作系统中 [ ^ ]



祝你好运

Espen Harlinn
I''ve answered that question here "Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))" in 64 bit OS[^]

Best regards
Espen Harlinn

这篇关于如何解决错误“检索具有CLSID的组件的COM类工厂{B4741E10-45A6-11D1-ABEC-00A0C9274B91}由于以下错误而失败:80040154。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆