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.