使用CLSID检索COM类工厂组件失败 [英] Retreiving the COM class factory component with CLSID failed

查看:159
本文介绍了使用CLSID检索COM类工厂组件失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个vb.net应用程序,并且还为该应用程序设置了项目.当我将其安装在另一台PC上时,出现以下错误:
由于以下错误,使用CLSID检索COM类工厂组件失败:80040154

如何解决此错误?

I have created a vb.net application and also setup project for the same.When I install this on another pc I get the following error:
Retrieving the COM class factory component with CLSID failed due to following error:80040154

How to resolve this error?
Please can any1 help me?

推荐答案

如果您的COM类已在目标系统中成功注册,那么我建议您将配置从任何CPU"切换为"x86"项目的属性,构建"部分.
或请检查此链接
http://www.vbforums.com/showthread.php?547796- RESOLVED-X86-vs-x64-vs-AnyCPU [ ^ ]
If your COM class registered successfully in target system, then I suggest you to switch configuration from "Any CPU" to "x86" in project''s properties, "Build" section.
Or please check this link
http://www.vbforums.com/showthread.php?547796-RESOLVED-X86-vs-x64-vs-AnyCPU[^]


这篇关于使用CLSID检索COM类工厂组件失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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