| Previous | Next |
| VFW_E_BUFFER_NOTSET | VFW_E_BUFFER_OVERFLOW |
EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT
Meaning
Windows documents EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT as “Cannot modify or delete an object that was not added using the COM+ Admin SDK”. In practical terms, it is returned when COM+ administration attempts to modify or delete an object that was not added through the COM+ Admin SDK and is therefore outside that management path.
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 COM+ administration attempts to modify or delete an object that was not added through the COM+ Admin SDK and is therefore outside that management path.
Evidence to collect
- Capture 1: object ID, catalog collection and creation origin.
- Capture 2: whether the COM+ Admin SDK created the object.
- Capture 3: supported management interface for the owning component.
Likely causes
- Possible cause 1: the object originated from another configuration mechanism.
- Possible cause 2: code assumes every catalog-visible object is administered identically.
- Possible cause 3: deployment metadata no longer records the object origin.
Diagnostic sequence
- Confirm that the observed path matches this condition: COM+ administration attempts to modify or delete an object that was not added through the COM+ Admin SDK and is therefore outside that management path.
Practical scenario
An administration tool enumerates an event object created by a different facility and tries to delete it as a configured catalog item; switching to the owner-specific removal path resolves the result.
Correct handling and retry
- Corrective action 1: manage the object through its owning configuration mechanism.
- Corrective action 2: avoid converting catalog visibility into ownership.
- Corrective action 3: record object provenance during deployment and migration.
Retry guidance. Do not retry the same COM+ Admin SDK modification; choose the API that owns the unconfigured object. When retrying, avoid deliver an event twice, modify the wrong catalog object or hide partial subscriber completion.
Difference from nearby HRESULTs
EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT protects an Admin SDK-configured object from the wrong path; this HRESULT identifies an object that was not configured through that SDK.
Developer and operational guidance
Official Microsoft references
Looking for a different code? Search another status or error code.
