Retrieving the COM class factory for component error while generating word document

前端 未结 8 1120
时光取名叫无心
时光取名叫无心 2021-01-02 12:45

I am trying to edit a word document from VB.NET using for the most part this code:

How to automate Word from Visual Basic .NET to create a new document

8条回答
  •  渐次进展
    2021-01-02 13:02

    I had the same issue on Windows 2008 R2. Ended up using this post: http://social.msdn.microsoft.com/Forums/en-US/netfx64bit/thread/65a355ce-49c1-47f1-8c12-d9cf5f23c53e

    and then changing the impersonation identity user in web.config to another user to solve it.

    I'm sure there is a combination of solutions.

提交回复
热议问题