本文介绍了从ASP.Net读取/写入Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经编写了一个Web应用程序,以使用Microsoft Interop程序集读取ms-word文档.由于开发服务器已安装ms-office,因此工作正常.该应用程序未在未安装ms-office的生产服务器上运行,并收到错误消息:
System.UnauthorizedAccessException:由于以下错误,检索具有CLSID {000209FF-0000-0000-C000-000000000046}的组件的COM类工厂失败:80070005

我们只有有限的权限访问我们的生产服务器

任何帮助将不胜感激

谢谢

问候
Raj

We have written a web application to read ms-word document using microsoft interop assembly. It is working fine as the developement server has got ms-office installed. The application is not running on the production server where ms-office is not installed and getting error message:
System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005

We have only limited access to our production server

Any help would be appreciated

Thank you

Regards
Raj

推荐答案


这篇关于从ASP.Net读取/写入Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 21:56