Microsoft Office应用程序的主要互操作程序集 [英] Primary Interop Assemblies for Microsoft Office Applications

查看:124
本文介绍了Microsoft Office应用程序的主要互操作程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的Web服务器上安装Microsoft Office的Interop程序集, 用于从我的网站读取Word文档.

I'm trying to install Interop Assemblies for Microsoft Office on my web servers, for the use of reading word documents from my site.

我可以仅安装组件吗? 还是唯一的方法是安装办公套件?

Can I install just the Assemblies? Or the only way is installing an office suite?

例外:

Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

互操作程序集列表: http://msdn.microsoft.com/en-us/library/15s06t57 .aspx#pialist

List of Interop Assemblies: http://msdn.microsoft.com/en-us/library/15s06t57.aspx#pialist

推荐答案

如果要使用该功能,则需要安装完整版的Microsoft Office.它们内部的互操作程序集不提供任何功能,而是依次从Microsoft Office本身调用功能.因此,您将需要在Web服务器上安装Office.

You need to install the full version of Microsoft Office if you desire to use the functionality. The interop assemblies within themselves do not provide any functionality, rather, these in turn invoke the functions from Microsoft Office itself. Hence you will need to install Office on the web server.

作为替代方案,您可以使用Office Sharepoint Server,它允许Web用户生成MS Office文档内容.

As an alternative, you could use the Office Sharepoint Server, which allows web users to generate MS Office document content.

这篇关于Microsoft Office应用程序的主要互操作程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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