Retrieving the COM class factory for component with CLSID {} failed due to the following error: 80080005 Server execution failed (0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

Ramesh Malviya 0 Reputation points
2023-04-17T07:09:28.4133333+00:00

I have created a web application in dotnet core 6, I have given COM reference of FANUC SDK. Application is working in debug mode but after publish I am getting below error after publishing the website on server Retrieving the COM class factory for component with CLSID {} failed due to the following error: 80080005 Server execution failed (0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

I have applied below change and also publish in x86 but still getting the same error https://answers.microsoft.com/en-us/windows/forum/all/retrieving-the-com-class-factory-for-component/d801f311-cc39-4d83-8058-a209ef8f97cf

Windows development Internet Information Services
Developer technologies ASP.NET ASP.NET Core
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-04-18T15:01:08.67+00:00

    first is the fanuc sdk installed and registered on the VM. second, will it run as a service. second does it run under IIS on your debug box.


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.