Retrieving the COM class factory for component with CLSID {000209FF-XXX} failed due to the following error: 80070005 Access is denied.
Word/Excel 转换 PDF 时提示:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied.
解决方案:
1,运行dcomcnfg打开组件服务
2,依次展开"组件服务"->"计算机"->"我的电脑"->"DCOM配置"
3,找到"Microsoft Word 93-2007"/"Microsoft Excel 93-2007"
4,右键打开属性对话框->点击"安全"选项卡
5,把"启动和激活权限"/"访问权限"/"配置权限"都选择为自定义,然后依次点击它们的编辑,赋予相应用户及权限...