| Previous | Next |
| VFW_E_BUFFER_OVERFLOW | VFW_E_BADALIGN |
EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT
Meaning
Windows documents EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT as “Cannot modify or delete an object that was added using the COM+ Admin SDK”. In practical terms, it is returned when an operation tries to modify or delete a COM+ Events object that was added through the COM+ Admin SDK but is being addressed through an incompatible management path.
Likely causes
- Possible cause 1: code bypasses the COM+ administration interfaces for a configured object.
- Possible cause 2: the object is owned by a deployment package or catalog relationship.
- Possible cause 3: manual cleanup ignores dependencies recorded by the Admin SDK.
Where the failure belongs
This result belongs to COM+ Events catalog and delivery. COM+ Events separates publishers, event classes, subscriptions and subscribers through catalog records. A useful diagnosis therefore follows both the catalog relationship and the eventual subscriber invocation. The relevant condition is that an operation tries to modify or delete a COM+ Events object that was added through the COM+ Admin SDK but is being addressed through an incompatible management path.
Diagnostic sequence
- Confirm that the observed path matches this condition: an operation tries to modify or delete a COM+ Events object that was added through the COM+ Admin SDK but is being addressed through an incompatible management path.
Evidence to collect
- Capture 1: object ID, catalog collection and configured ownership.
- Capture 2: the COM+ application and package that installed the object.
- Capture 3: dependent subscriptions or event classes blocking the requested change.
Correct handling and retry
- Corrective action 1: use the COM+ Admin SDK or Component Services to change the configured object.
- Corrective action 2: remove dependent objects in supported order.
- Corrective action 3: avoid direct registry or store manipulation.
Retry guidance. Retry only through the supported administrative owner after dependencies and authorization are verified. When retrying, avoid deliver an event twice, modify the wrong catalog object or hide partial subscriber completion.
Difference from nearby HRESULTs
The unconfigured-object variant indicates the object was never added through the Admin SDK; it indicates that it was and must remain under that management contract.
Practical scenario
A maintenance script directly removes a configured event class instead of uninstalling it through COM+ administration; using the supported catalog operation resolves the failure.
Developer and operational guidance
Official Microsoft references
Looking for a different code? Search another status or error code.