| Previous | Next |
| VFW_E_BADALIGN | VFW_E_ALREADY_COMMITTED |
EVENT_E_INVALID_EVENT_CLASS_PARTITION
Meaning
Windows documents EVENT_E_INVALID_EVENT_CLASS_PARTITION as “The event class for this subscription is in an invalid partition”. In practical terms, the subscription resolves its publisher metadata to a COM+ partition that is not valid for the subscription.
Evidence to collect
- Capture 1: subscription ID, event class CLSID and both partition IDs.
- Capture 2: catalog lookup results under the effective administrative identity.
- Capture 3: package import and migration mapping.
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 failure is specifically a partition-relationship mismatch: the referenced publisher object exists, but its catalog partition cannot be used by this subscription.
Likely causes
- Possible cause 1: subscription and publisher metadata were imported into different partitions.
- Possible cause 2: an identifier resolves to a stale publisher object in another partition.
- Possible cause 3: deployment assumes partition-neutral catalog objects.
Diagnostic sequence
- Resolve the subscription and referenced publisher CLSID through the COM+ catalog and compare their partition identifiers before changing subscriber code.
Correct handling and retry
- Corrective action 1: place the referenced publisher object and subscription in a valid compatible partition.
- Corrective action 2: make partition mapping explicit during export and import.
- Corrective action 3: remove stale duplicates that cause ambiguous catalog resolution.
Retry guidance. Retry after catalog placement is corrected and replicated; changing subscriber code cannot repair a partition mismatch. When retrying, avoid deliver an event twice, modify the wrong catalog object or hide partial subscriber completion.
Difference from nearby HRESULTs
EVENT_E_MISSING_EVENTCLASS means the referenced publisher class cannot be found; this HRESULT instead means the object exists but the partition relationship is invalid.
Developer and operational guidance
Practical scenario
A package export is imported into a new COM+ partition but its subscription still points to the publisher object from the old partition; rebinding the catalog reference removes the mismatch.
Official Microsoft references
Looking for a different code? Search another status or error code.