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

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

问题描述

为CLSID为{000209FF-0000-0000-C000-000000000046}的组件检索COM类工厂的操作由于以下错误而失败:8000401a.

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a.

我们无法从SharePoint服务器场环境中托管的生产服务器获得上述错误,因为该错误无法从我们的登台服务器(独立服务器)重现相同的问题.

We are getting above said error from our production server which is hosted in SharePoint farm environment, where as not able to reproduce the same issue from our staging server which is standalone server.

我希望,当从远程计算机访问Microsoft.Office.Word组件时,会引发上述错误.我已经在

I hope, the above said error will be throwing when Microsoft.Office.Word component accessing from remote machine. I've updated all users under "Launch and activation Permission" in DCOMConfig as mentioned in Retrieving the COM class factory for component with CLSID Error: 8000401a

这里有趣的是,当用户持续单击我的网页中的报告生成"按钮时,该问题已自动解决.我了解这个问题似乎偶尔会发生,因为我们无法确定何时将其抛出.

The interesting here is, the issue has been resolved automatically when user keeps clicking on the "Report Generation" button in my web page. I understand the issue seems to be happened on occasionally as we cannot predicate when this will be thrown.

推荐答案

我找到了解决方案,

使用DCOMCNFG.exe打开它,然后转到组件服务"->计算机"->我的电脑"->"DCOM配置"->检查"Microsoft Office Word"选项,然后选择安全性"选项卡.在这里,您将获得启动和激活权限"- >选择自定义,然后单击编辑,然后添加将以完全访问权限运行您的应用程序的用户.

using DCOMCNFG.exe open it and go to Component Service ->Computers->My Computer->DCOM Config-> check for Microsoft Office Word option and select tab Security.Here you will get the options for Launch and Activation Permission->select Customize and click on edit and the add the user that will runs your Application with full access.

仅此而已,这解决了我的问题,希望对您有所帮助.

That's all ,this resolve my problem hop this will help.

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

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