| Previous | Next |
| CO_E_IIDREG_INCONSISTENT | CO_E_RELOAD_DLL |
CO_E_NOT_SUPPORTED
COM operation is not supported in this context
CO_E_NOT_SUPPORTED is HRESULT 2147500065 (0x80004021) from winerror.h. The documented description is “The operation attempted is not supported.” The value must be interpreted at COM activation or runtime infrastructure rejecting an operation outside its supported configuration.
The runtime recognizes the request but the selected object, host, platform, or activation mode does not implement it.
Where the result appears
- This result may surface in COM activation or runtime infrastructure rejecting an operation outside its supported configuration.
Typical causes and interpretation
Common cause categories are: the feature is unavailable in-proc or out-of-proc; the platform edition omits it; the component version predates the operation. The candidate causes are alternatives, so test one precondition at a time instead of applying several broad repairs together.
Key distinction: the runtime recognizes the request but the selected object, host, platform, or activation mode does not implement it.
Correct handling and recovery
The appropriate recovery is to detect the capability, select a documented alternative, or deploy the required component; do not convert the result into a transient retry.
Practical scenario
A client requests a server-only activation option from an in-process component and switches to the ordinary activation path.
Difference from related HRESULTs
E_NOTIMPL is usually returned by a method implementation; it is a COM infrastructure or activation-level rejection.
References
Looking for a different code? Search another status or error code.