Interop.Word Documents.Open is null

前端 未结 7 1923
梦毁少年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:24

    Try this it may help you.

    • Create a new "Desktop" directory inside of "C:\Windows\SysWOW64\config\systemprofile\"

    it works for me after a long long long day searching for the solution.

    It seams to be a profile problem.

提交回复
热议问题