| Previous | Next |
| DISP_E_UNKNOWNINTERFACE | DISP_E_PARAMNOTFOUND |
DISP_E_MEMBERNOTFOUND
Meaning and context of DISP_E_MEMBERNOTFOUND
IDispatch is the interface that exposes the OLE Automation protocol. Extending IUnknown, it is one of the standard interfaces that can be exposed by COM objects. COM distinguishes between three interface types: custom that are VTABLE-based IUnknown interfaces, dispatch that are IDispatch interfaces supporting introspection, and dual interfaces supporting both types.
The Automation (IDispatch) interface allows a client application to find out what properties and methods are supported by an object at run-time, i.e. implements the concept of RTTI. It also provides the information necessary to invoke these properties and methods. Client applications do not need to be aware of the object members when they are compiled. This allows COM and ActiveX objects to be called by scripting programs platforms such as the ASP server and JavaScript on Internet Explorer, where calling conventions were not known at the time IIS or IE were built. By contrast, a simple object library is compiled and linked into a program, e.g. a DLL call needs to know a function name and parameters at compile time.
When a script needs to call a method, it must find its identifier by calling GetIDsOfNames. The dispatch function DispGetIDsOfNames provides a standard implementation of GetIDsOfNames.
In some cases, the program does not call the GetIDsOfNames method, but stores somewhere the identifier of the required method. If the identifier is not correct for the given version of the interface, Ivoke returns This result.
Diagnostic interpretation
DISP_E_MEMBERNOTFOUND has the HRESULT value 0x80020003. AllStat records the condition as “Member not found.”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the disp / membernotfound operation.
- Reproduce this result with the smallest valid input and note whether the result changes with identity, architecture, service state, or target object.
Retry and recovery
” has changed.
Official references
Looking for a different code? Search another status or error code.