Opening Word Document on Client Side from Asp.net Application

前端 未结 4 1302
温柔的废话
温柔的废话 2021-01-25 17:36

We need to open a word document which is located on a server on the clients machine using Microsoft Word. The solution is working locally however when deployed on server then on

4条回答
  •  逝去的感伤
    2021-01-25 18:01

    You have to keep in mind that the client and server are running on two different machines. The server can't start a program running on the client machine.

    Also, FYI, never use Office Automation from an ASP.NET application. Those APIs were designed for use in a desktop application. They won't work properly, are unsupported, and may even violate your Office license.

提交回复
热议问题