Search code examples
c#com+dcom

C# Call custom COM+ error: 80070005 Access is denied


System.UnauthorizedAccessException: 'Retrieving the COM class factory for component with CLSID failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).'

The code is calling a web method that that calls a custom dcom application. The web service has been set to run on 32 bit on IIS.

DCom CLSID does exist and I have checked permission.


Solution

  • Uninstalled and re-installing the custom Dcom application resolved my issue.