如何在Dcom.Config中添加Excel.Application [英] How Can I Add Excel.Application In Dcom.Config

查看:643
本文介绍了如何在Dcom.Config中添加Excel.Application的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在服务器上部署后下载excel文件时出现以下错误。





由于以下错误,检索CLSID为{00024500-0000-0000-C000-000000000046}的组件的COM类工厂失败:80070005访问被拒绝。 (HRESULT异常:0x80070005(E_ACCESSDENIED))



我希望,需要在以下控制面板中为Excel.application授予权限 - >管理工具 - >组件服务 - >我的电脑 - > DCOM配置 - > Excel.Application。



我没有Excel.Application选项。我需要补充一点。如何添加?

I am getting following error while download excel file after deploying on server.


Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I hope, need to give permission for Excel.application in following Control panel -> Administrative Tools -> Component Services -> My Computer -> DCOM Config -> Excel.Application.

There I don't have Excel.Application option. I need to add that. How can I add ?

推荐答案

首先需要安装excel,即需要安装Microsoft Office。



然后转到DCOM配置,在那里您将找到名为Microsoft Excel Application的应用程序。右键单击 - >属性 - >给予持久性
First you need to install excel i.e need to install Microsoft Office.

Then go to DCOM config and there you will find an application named "Microsoft Excel Application". Right Click - > Properties -> Give Persmissions


这篇关于如何在Dcom.Config中添加Excel.Application的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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