none
Retrieving the COM class factory for component with CLSID {…} failed due to the following error: 8007007f RRS feed

  • Question

  •  

    I have a C# .Net COM component that calls an ATL COM component in a C# .Net application.  When the code gets to the “new” for the ATL COM component I get this exception:

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

    If I use the same C# .Net COM component in a Win32/ATL application it works fine.

    Does anyone have any idea what is wrong?

    Tuesday, July 15, 2008 5:26 PM

Answers

  • That's an usual error code, produced by GetProcAddress().  I would assume it is caused by the component itself rather than .NET and hints at it having a problem loading a DLL.  Contact the COM component vendor for support.
    Hans Passant.
    • Marked as answer by Zhi-Xin Ye Tuesday, July 22, 2008 3:40 AM
    Tuesday, July 15, 2008 7:46 PM
    Moderator