Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}
2011-04-19 11:42
766 查看
ASP.NET写一个导出EXCEL数据,调试通过,但是部署到服务器上就不能用了。
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}
在服务器上,
1,运行dcomcnfg打开组件服务
2,依次展开"组件服务"->"计算机"->"我的电脑"->"DCOM配置"
3,找到"Microsoft Excel应用程序"(如果服务器没有安装office则不会有此选项)
右键打开属性对话框
点击"安全"选项卡,
把"启动和激活权限","配置权限",都选择为自定义
如果系统是xp,则添加用户ASPNET,赋予 本地启动和本地激活 权限。
如果系统是server2003,则添加的用户需要与应用程序池中预定义用户相同(应用程序池:我的电脑-右键 管理-服务和应用程序-internet信息服务管理-应用程序池-右键 属性-标识-预定义用户(默认应该是network service))赋予 本地启动和本地激活 权限.
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}
在服务器上,
1,运行dcomcnfg打开组件服务
2,依次展开"组件服务"->"计算机"->"我的电脑"->"DCOM配置"
3,找到"Microsoft Excel应用程序"(如果服务器没有安装office则不会有此选项)
右键打开属性对话框
点击"安全"选项卡,
把"启动和激活权限","配置权限",都选择为自定义
如果系统是xp,则添加用户ASPNET,赋予 本地启动和本地激活 权限。
如果系统是server2003,则添加的用户需要与应用程序池中预定义用户相同(应用程序池:我的电脑-右键 管理-服务和应用程序-internet信息服务管理-应用程序池-右键 属性-标识-预定义用户(默认应该是network service))赋予 本地启动和本地激活 权限.
相关文章推荐
- 【Excel】Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}:
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- 异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed(转)
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- C# Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- 异常:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 拒绝访问
- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
- 部署到服务器后,导出Excel发生错误Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}
- 关于Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005的解决办法
- Retrieving the COM class factory for component with CLSID {00024500-0000-000
- Retrieving the COM class factory for component with CLSID {00024500-0000-000
- COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
- Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following err
- IIS Excel操作问题解决 Retrieving the COM class factory for component with CLSID {00024500-0000-000
- Retrieving the COM class factory for component with CLSID {00024500-0000-000 (未成功)
- office2010 x64 Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 800
- Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005