由于以下错误,检索具有 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

查看:37
本文介绍了由于以下错误,检索具有 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 组件从远程机器访问时会抛出上述错误.我已经更新了 DCOMConfig 中启动和激活权限"下的所有用户,如 正在检索组件的 COM 类工厂,CLSID 错误:8000401a

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天全站免登陆