由于以下错误,无法为具有CLSID的组件检索COM类工厂:80040154 [英] Retrieving the COM class factory for component with CLSID failed due to the following error: 80040154

查看:378
本文介绍了由于以下错误,无法为具有CLSID的组件检索COM类工厂:80040154的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此桌面应用程序正尝试在vb.net中使用第三方TypeLib并尝试实例化此对象:

This desktop app is trying to use a Third party TypeLib in vb.net and when trying to instantiate this object:

Dim mycalWWList As New CALWorkitemWorkstepList



产生此错误:
由于以下错误,使用CLSID {{F86DE171-2A5B-11CF-A2A6-08005AC10759}}检索组件的COM类工厂失败:80040154

类型库的Oleview显示如下:



This error is produced:
Retrieving the COM class factory for component with CLSID{{F86DE171-2A5B-11CF-A2A6-08005AC10759}} failed due to the following error: 80040154

Oleview of the type library shows this:

[
  uuid(F86DE171-2A5B-11CF-A2A6-08005AC10759)
]
coclass CALWorkitemWorkstepList {
    [default] interface _ICALWorkitemWorkstepList;
};




到目前为止,我已经阅读了很多有关此错误和互操作性的文章
1.)重试"regtlib.exe"
2.)试图对procmon.exe中显示的其他任何.dll进行regsvr32,但只是产生了未找到入口点的错误.
3.)尝试了tlbimp,而不仅仅是添加参考. tlbimp完全没有错误地导入了所有内容,尤其是上面的coclass.
4.)目标x86.
4.)旧版COM对象在vb6应用程序中可以正常工作.

我已经在这里阅读了所有类似的帖子,但到目前为止没有任何帮助.




I have read so much on this error and interoperability in general and so far
1.) retried "regtlib.exe"
2.) tried to regsvr32 any other .dll that shows up in procmon.exe but just produced the entry point not found error.
3.) tried tlbimp rather than just adding reference. tlbimp imported all with out error especially noting the coclass above.
4.) target x86.
4.) the legacy COM objects work fine in the vb6 application.

I have read all the similar posts here and nothing has help so far.

Would anyone have any further suggestions?

推荐答案

0x80040154未注册类...

我*猜测*代理不可用

HKLM_CLASSES/CLSID/F86DE171-2A5B-11CF-A2A6-08005AC10759有什么?
0x80040154 is class not registered ...

I''d *guess* the proxy is unavailable

what have you got in HKLM_CLASSES/CLSID/F86DE171-2A5B-11CF-A2A6-08005AC10759?


这篇关于由于以下错误,无法为具有CLSID的组件检索COM类工厂:80040154的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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