问题描述
在服务器上部署后下载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 ?
推荐答案
这篇关于如何在Dcom.Config中添加Excel.Application的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!