Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005.

Srinath_007 0 Reputation points
2023-03-23T10:29:59.3266667+00:00

Getting Error while creating instance of Word Microsoft.Office.Interop.Word.Application = New Microsoft.Office.Interop.Word.Application()

  1. I have added IISUSRS and Network service account in DCOM settings but still error exists
  2. Installed MS Office 2016
Microsoft 365 and Office Development Other
Developer technologies VB
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,221 Reputation points Microsoft External Staff
    2023-03-24T01:58:26.19+00:00

    Hi @Srinath_007 ,

    Server-side automation of word is subject to various problems.

    Here are some solutions which might be helpful.

    1. First, make sure that both Launch and Activation and Access are customized to include the user accounts you want to allow.
    2. If the previous step did not help, on the Identity tab, select Interactive User, Startup User, or This User. Enter an actual account that is known to have the above permissions. and enter/confirm the password.
    3. If that doesn't work, add an administrator account for testing and, if feasible, further reduce its permissions to ensure that it has the minimum permissions it can run.

    Best Regards.

    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.