COM: Intermittent error 800703fa: Illegal Operation attempted on a registry key

Intermittent error 800703fa: Illegal Operation attempted on a registry key You may encounter the error 800703fa intermittently while running an application on IIS.   Error details: Retrieving the COM class factory for component with CLSID {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} failed due to the following error: 800703fa Illegal Operation attempted on a registry key that has been marked for…

0

COM: Cannot register a COM DLL using ATL::CComModule::RegisterServer()

Issue: Cannot register a COM DLL using ATL::CComModule::RegisterServer() If you are using a COM DLL or building one that uses ATL’s CComModule::RegisterServer() and building the code in Visual Studio 2013, you are mostly failing to register it. Say if you are using RegSvr32.exe to register your DLL, the call stack might show you the following…

0

COMException (0x800a01ad): ActiveX component can’t create object

While troubleshooting an issue with a customer I found this error from an ASP.Net page while trying to create a COM object. The web page was hosted from IIS6 on a Windows Server 2003 machine. Troubleshooting further I figured that the OS was 64 bit and w3wp.exe was running as a 64 bit process trying…