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
Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))