Interop.Word Documents.Open is null

前端 未结 7 1970
梦毁少年i
梦毁少年i 2020-11-30 02:42

I am trying to open .docx file and convert to PDF using Interop.Word.Application. It works as console application but If I use the same in my web application it doesn\'t wor

7条回答
  •  孤街浪徒
    2020-11-30 03:00

    This worked for me. https://social.msdn.microsoft.com/Forums/en-US/0f5448a7-72ed-4f16-8b87-922b71892e07/word-2007-documentsopen-returns-null-in-aspnet.

    If this helpe you, please make it answer

提交回复
热议问题