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

前端 未结 4 1522
醉话见心
醉话见心 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 11:01

    1. Click Start, click Programs, click Administrative Tools, click Component Services.
    2. Expand Component Services, expand Computers, expand My Computer, expand DCOM Config, and right-click Microsoft Word 97 - 2003 Document. Select Properties.
    3. Click General. Set Authentication Level to Connect (None also work).
    4. Click Identity. Set This user. Specify a user account that will always be used to run the COM application regardless of which user is accessing it.
    5. Click button Apply.
    6. Click button OK.

    For more information on “Configuring DCOM for Remote Access" visit Configuring DCOM for Remote Access

提交回复
热议问题