Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

Durga Kinthada (CON) 10 Reputation points
2023-09-21T12:50:17.0133333+00:00

Hi Team,

We Have created one .net core application which will read and process outlook inbox mails. It was deployed to windows scheduler.

So scheduler will run every three minutes and read inbox. On that note sometimes we are getting below issues. Please provide your suggestion.

Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

Outlook
Outlook
A family of Microsoft email and calendar products.
4,331 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,215 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.
4,162 questions
{count} votes

2 answers

Sort by: Most helpful
  1. RLWA32 46,461 Reputation points
    2023-09-21T14:15:59.8266667+00:00

    Automating Office applications in a non-interactive environment (e.g., task scheduler) is not supported by Microsoft. See Considerations for server-side Automation of Office.

    0 comments No comments

  2. KOZ6.0 6,580 Reputation points
    2023-09-21T15:49:54.59+00:00

    Create a program that resides in the task tray and launches it every 3 minutes.

    0 comments No comments

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.