Getting a Object Reference error in prod only when trying to use the Word DocumentClass

前端 未结 4 1512
醉话见心
醉话见心 2021-01-05 10:31

I am writing a program that uses a .dotx template and does a merge of data in an aspx page. The program works perfect on my Dev workstation locally but when I deploy it to

4条回答
  •  有刺的猬
    2021-01-05 10:46

    If word is really installed on the server check if the User account where IIS is running under has actually permission on the Microsoft.Office.Interop Assembly

提交回复
热议问题