8.17.2011

Retrieving the COM class factory for component with CLSID {} failed due to the following error: 80004027

One of the teams that I manage were working on a .net based web single-sign-on project. The specifications included a COM DLL file which had to be registered on the server. The development team successfully implemented the SSO on the localhost and then proceeded to move the items to the development server. However, they realized that the development server was 64Bit Windows 2003 while the DLL was for 32 environments. They went ahead with regular procedures (registering the DLL through %%/System32/RegSvr.32) but with no luck. The SSO was giving us an error whenever the DDL functions were invoked.

System.Runtime.InteropServices.COMException (0x80004027): Retrieving the COM class factory for component with CLSID {} failed due to the following error: 80004027.