The information in this article applies to:
SYMPTOMSDuring WBEM class operations (including, but not limited to, IWbemServices::CreateClassEnum and IWbemServices::GetObject) you might get a return code of WBEM_S_DUPLICATE_OBJECTS. The class object returned from these methods might or might not match the class definition you expect. CAUSE
The nature of WBEM includes the possibility that two class definitions
might exist at the same time and might conflict with each other (for
example, two class providers providing conflicting subclass definitions).
The WBEM engine, CIMOM, cannot determine which class definition is
"correct." As a result, CIMOM returns the first class definition it
encounters along with the return code WBEM_S_DUPLICATE_OBJECTS.
RESOLUTIONCIMOM logs an event to the Windows NT Event Log (or the CIMOM.log file under Windows 9x platforms). The event has a form similar to the following, where %1 is a class name: Several providers and/or the static database returned definitions for class "%1". Only one definition was reported. Until this misconfiguration is corrected, clients may receive incorrect class definition for "%1".The resolution depends completely upon the call that returns the WBEM_S_DUPLICATE_OBJECTS code and the class named in the event log. To find the source of the conflict, you should check the inheritance tree of the problem class. You can also look for class definitions that derive from the same superclass, but attempt to define the same objects. Lastly, you can try removing any extraneous class providers from the namespace that is the source of the error. STATUSThis behavior is by design. MORE INFORMATION
You will rarely encounter this problem during development and testing
because this problem depends largely upon the configuration of a particular
WBEM machine (that is, which schema and providers are installed, and so
forth).
REFERENCESArchitectural Overview: WBEM SDK Documentation Additional query words: zodiac CIMOM
Keywords : kbWBEM |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |