在Windows服务器中使用Word对象
我有 asp.net 应用程序,它有时会获取 Word 文档,编辑其中的一些数据并将其发送到电子邮件。 虽然这在我有 microsoft word 的本地计算机上运行良好,但当我尝试在没有安装 microsoft word 的 Windows 服务器上执行相同的操作时,该文档不会创建,而且似乎什么也没有发生。 有谁可以告诉我需要安装什么才能正常工作,我需要安装普通的 Microsoft Word 应用程序还是可以安装一些程序集? 谢谢,拉齐亚莱
I have asp.net app which at some point takes word document, edits some of the data there and sends it to email.
While this is running good on my local computer where I have microsoft word, when I am trying to do the same thing from windows server without microsoft word installed, the document doesn't get created, and it seems that nothing is happening.
Does anyone can tell me what do I need to install for this to work, do I need to install normal microsoft word application or I can install some assemblies?
Thanks, Laziale
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有第 3 方工具可以执行此操作,您不应该直接使用 MS Word 执行此操作。
http://support.microsoft.com/kb/257757
There are 3rd party tools that do this, you should NOT do it with MS Word directly.
http://support.microsoft.com/kb/257757