由于以下错误,检索具有CLSID {0006F03A-0000-0000-C000-000000000046}的组件的COM类工厂失败:80040154. [英] Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154.

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

问题描述

全部

Microsoft.Office.Interop.Outlook.Application objOutlook;
Microsoft.Office.Interop.Outlook.NameSpace objNamespace;
Microsoft.Office.Interop.Outlook.MAPIFolder objMAPIFolder;
Microsoft.Office.Interop.Outlook.MailItem objItem;
Microsoft.Office.Interop.Outlook.UserProperty objProp;

我使用这段代码来生成新消息Outlook窗口

我正在使用Microsoft Office 2003产品中的参考Microsoft.office.Interop.Outlook,version = 11.0.0.0.在开发系统中,它可以在系统中正常工作.我没有Microsoft Office 2003,因此它抛出

由于以下错误而导致CLSID为{0006F03A-0000-0000-C000-000000000046}的组件的COM类工厂检索失败:80040154.


仍然可以在GAC中找到Microsoft.office.Interop.Outlook,version = 11.0.0.0.原因是什么?在客户端计算机中安装Microsoft Office 2003

非常感谢您的帮助




Hi all

         Microsoft.Office.Interop.Outlook.Application objOutlook;
        Microsoft.Office.Interop.Outlook.NameSpace objNamespace;
        Microsoft.Office.Interop.Outlook.MAPIFolder objMAPIFolder;
        Microsoft.Office.Interop.Outlook.MailItem objItem;
        Microsoft.Office.Interop.Outlook.UserProperty objProp;

I use this piece of code to generate new message Outlook window

I am using the reference Microsoft.office.Interop.Outlook,version=11.0.0.0 from the Product Microsoft office 2003
It works in fine in development System
When I Install my application in the clinet machine ,where I dont have Microsoft office 2003
So It throws

Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154.


Still I can Find the Microsoft.office.Interop.Outlook,version=11.0.0.0  in the GAC
What is the cause
How Can I resolve this ,With out Installing Microsoft office 2003 in the Client machine

Any help is Greatly Appreciated




推荐答案

这个论坛是为了支持互操作性问题.

如果有人已经问过类似的问题,我建议您开始搜索论坛.

http://social.msdn.microsoft.com/Forums/en-us /categories/

然后您可以考虑以下论坛:.Net开发,Office业务应用程序.
有非常有用的社区可以帮助您解答.

谢谢,
Edgar

This forum is to support Interoperability questions.

I would suggest you start searching the forums in case someone has already asked a similar question.

http://social.msdn.microsoft.com/Forums/en-us/categories/

You might then consider these forums: .Net Development, Office Business Applications.
There are very helpful communities that would help with your answer.

Thanks,
Edgar


这篇关于由于以下错误,检索具有CLSID {0006F03A-0000-0000-C000-000000000046}的组件的COM类工厂失败:80040154.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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