关于COM组件问题 [英] Regarding COM component issue

查看:76
本文介绍了关于COM组件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



这篇文章是关于我在安装用C#.Net创建的应用程序时遇到的问题。每当我执行时都会弹出一条消息应用程序:



检索具有CLSID的组件的COM类工厂

{00024500-0000-0000-C000-0000000000046}由于以下错误:

80040154



我发布了一条帖子,说明问题区域是Windows 7,因此您需要构建项目x86而不是任何CPU,但它仍然无法正常工作。



我将非常感谢您对此的投入。



谢谢

解决方案

查看此链接。看起来答案可以在那里找到(完全阅读,因为有更多的答案。

http:/ /forums.asp.net/t/1760531.aspx [ ^ ]



祝你好运!


http://stackoverflow.com/questions/15834105/clsid-00024500-0000-0000-c000-000000000046- microsoft-office-interop-excel-dl [ ^ ]



http://support.microsoft.com/kb/292491 [ ^ ]


谢谢你们花费你的时间,但问题已经解决,因为问题是因为应用程序正在寻找注册表项而没有在机器上安装MS office

HKEY_CLASSES_ROOT\CLSID \ {00024500-0000-0000-C000-000000000046}

在安装MS office时输入。

因此,安装MS office后问题得到解决。

Hello everyone ,

This post is regarding a problem that I faced whenever I installs an application created in C#.Net .A message is popped up whenever I execute the application :

Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-0000000000046} failed due to the following error :
80040154

I followed a post that says that the problem area is windows 7 so you need to build of project in x86 instead of Any CPU but still it didn't work .

I would appreciate your input over this .

Thanks

解决方案

Check out this link. Looks like the answer can be found there (read completely because there are more answers.
http://forums.asp.net/t/1760531.aspx[^]

Good luck!


http://stackoverflow.com/questions/15834105/clsid-00024500-0000-0000-c000-000000000046-microsoft-office-interop-excel-dl[^]

http://support.microsoft.com/kb/292491[^]


Thank you guys for spending your time but the issue is resolved as the problem was that MS office was not installed on the machine as the application was looking for the registry entry
HKEY_CLASSES_ROOT\CLSID\{00024500-0000-0000-C000-000000000046}
which makes an entry upon installation of MS office .
So upon installation of MS office the issue got resolved .


这篇关于关于COM组件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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