码迷,mamicode.com
首页 > Windows程序 > 详细

异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

时间:2016-10-27 23:21:34      阅读:381      评论:0      收藏:0      [点我收藏+]

标签:following   doc   one   class   app   sid   右击   控制面板   解决方法   

异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

解决方法:服务器上:“控制面板”——“管理工具”——“组件服务”——“我的电脑”——“DCOM配置”——“Microsoft Excel Application”——右击“属性”——“启用和激活权限”选择“自定义”——“编辑”——“添加”——在“输入对象名称”内填写服务器的登录名——“确定”——该用户所有权限均为“允许”——“确定”——同样对“访问权限”进行如上操作——完成以上操作后,点击“标识”——“下列用户”——“浏览”——在“输入对象名称”内填写服务器的登录名——“确定”——“密码”为登录服务器的密码——完成以上操作后点击“确定”——此异常以解决。

备注:上述解决方法仅针对Excel,但也适用于Word,只需将“Microsoft Excel Application”这一步改成“Microsoft Document Explorer”。

异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

标签:following   doc   one   class   app   sid   右击   控制面板   解决方法   

原文地址:http://www.cnblogs.com/Cchblogs/p/6005852.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!