配置在带有 IIS7 的 Windows Server 2008 中运行互操作服务的权限
我在 ASP.NET 3.5 中开发了一个代码,它使用互操作服务使用 Visual Studio 2008 在 Excel 中生成报告。该代码在本地 PC 和 Windows XP 系统中运行得很好。但是当部署在 Windows Server 2008 中时,它开始出现与权限相关的问题。
由于以下错误,检索 CLSID {00024500-0000-0000-C000-000000000046} 的组件的 com 类工厂失败:80070005
对上述内容有什么想法吗?
I have developed a code in ASP.NET 3.5 which uses interop services to generate reports in excel using visual studio 2008. The same is running very well in the local PC and the system having Windows XP. But when deployed in Windows Server 2008 it starts giving permission related issue.
Retrieving the com class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
Any Idea on the above?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要更新您的 Web.Config。
You need to update your Web.Config.