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
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,579 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,509 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
    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.