PRB: CoGetClassObject for IClassFactory2 Returns E_NOINTERFACE for Configured Components (229770)



The information in this article applies to:

  • Microsoft COM, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q229770

SYMPTOMS

When you call the CoGetClassObject function for the IClassFactory2 interface on components that are hosted in a COM+ application, the function fails with error 0x80004002 ("No such interface supported" or E_NOINTERFACE).

CAUSE

This error occurs because the class factory wrapper for configured components only supports the IClassFactory interface, not the IClassFactory2 interface.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:kbprb KB229770