| Previous | Next |
| NS_E_HDS_KEY_MISMATCH | NS_E_DRM_MIGRATION_OBJECT_IN_USE |
NS_E_DRM_MIGRATION_OPERATION_CANCELLED
Meaning beyond the player message
The symbolic result NS_E_DRM_MIGRATION_OPERATION_CANCELLED narrows 0xC00D279A to license and secure-state migration, in the migration operation cancelled path. In practical terms, the migration workflow was canceled before completion; the producing layer is the controlled import/export path that packages legacy DRM state, validates the migration image and source identity, and commits eligible licenses to a supported target environment, while tracing migration operation cancelled.
For NS_E_DRM_MIGRATION_OPERATION_CANCELLED, the built-in message summarizes the user-visible outcome, while the symbolic phrase “migration operation cancelled” preserves the exact WMDRM boundary for diagnosis. For this code, the proof step is to record cancellation owner, stage and whether target state was modified, for the migration operation cancelled boundary.
Which component owns the failure
Do not flatten NS_E_DRM_MIGRATION_OPERATION_CANCELLED into a generic DRM error, during migration operation cancelled diagnosis. Migration is not equivalent to copying license-store files: the importer validates source state, target support and protected identities, in a migration operation cancelled incident. The second relevant rule is that a migration image, target-state corruption and an already imported license are independent outcomes and should not be collapsed into one generic restore failure, for this migration operation cancelled result.
How to prove the condition
- Preserve
NS_E_DRM_MIGRATION_OPERATION_CANCELLED, the calling interface and the first lower-level status before a wrapper replaces it, when reproducing migration operation cancelled. - Correlate
NS_E_DRM_MIGRATION_OPERATION_CANCELLEDwith one KID/license ID, content hash, device certificate or migration operation ID for the “migration operation cancelled” path. - For
NS_E_DRM_MIGRATION_OPERATION_CANCELLED, reconstruct the state transition immediately preceding “migration operation cancelled” instead of starting from the final player dialog. - Prove the boundary by ensuring you can record cancellation owner, stage and whether target state was modified, within the migration operation cancelled workflow.
- After you clean up or resume according to the supported operation state before retry, verify both the requested right and the final store/device state, in the migration operation cancelled path.
Diagnostic inputs that separate the causes
Capture the first NS_E_DRM_MIGRATION_OPERATION_CANCELLED occurrence before automatic retry, player teardown, store repair or license reacquisition changes the state, while tracing migration operation cancelled. The smallest useful record contains:
- Code-specific proof: record cancellation owner, stage and whether target state was modified, for the migration operation cancelled boundary.
- Protected identity: per-license duplicate or import result, during migration operation cancelled diagnosis.
- Operation state: source and target OS versions and user SIDs, in a migration operation cancelled incident.
- Persistence or transport: migration image identity, hash and creation time, for this migration operation cancelled result.
- Security context: legacy V2 secure-store entry and supplied password, when reproducing migration operation cancelled.
- Correlation point: importer plug-in availability and current operation state, within the migration operation cancelled workflow.
For the “migration operation cancelled” investigation, use KIDs, license IDs, hashes, certificate thumbprints, sizes and timestamps where possible. While diagnosing NS_E_DRM_MIGRATION_OPERATION_CANCELLED, do not place content keys, complete license blobs, passwords, cookies or decrypted media in ordinary logs, in the migration operation cancelled path.
Do not merge these HRESULTs
| Result | Different boundary |
|---|---|
NS_E_DRM_MIGRATION_OBJECT_IN_USE | The migration object already owns an active operation, while tracing migration operation cancelled. |
NS_E_DRM_UNABLE_TO_CREATE_MIGRATION_IMPORTER_OBJECT | The DRM runtime cannot create the migration-importer object required for this operation, for the migration operation cancelled boundary. |
NS_E_DRM_MIGRATION_NOT_SUPPORTED | The selected importer plug-in does not support this migration format or operation, during migration operation cancelled diagnosis. |
Several values can accompany the “migration operation cancelled” condition in one incident. Order the NS_E_DRM_MIGRATION_OPERATION_CANCELLED event chain by timestamp and prefer the first code produced at the lowest specific boundary over a later player-level summary, in a migration operation cancelled incident.
What a supported fix should change
Resolve NS_E_DRM_MIGRATION_OPERATION_CANCELLED at its producing boundary: clean up or resume according to the supported operation state before retry, for this migration operation cancelled result. For NS_E_DRM_MIGRATION_OPERATION_CANCELLED, a player reinstall, reboot or new license request is useful only when it changes the “migration operation cancelled” boundary and can be verified against the original evidence.
Representative case: The user cancels after image validation but before all licenses are imported, when reproducing migration operation cancelled.
Common but unsafe responses
- Avoid editing migration images or combining data from different source machines, within the migration operation cancelled workflow. That changes evidence without demonstrating why
NS_E_DRM_MIGRATION_OPERATION_CANCELLEDwas produced. - Avoid running concurrent playback or DRM operations against the source while migration owns it, in the migration operation cancelled path. For
NS_E_DRM_MIGRATION_OPERATION_CANCELLED, that shortcut can create a second store, identity or policy problem, while tracing migration operation cancelled. - Do not reduce
NS_E_DRM_MIGRATION_OPERATION_CANCELLEDto “DRM failed” in telemetry; retain the HRESULT, symbolic name, operation and object identity, for the migration operation cancelled boundary.
How to know the fix is real
Repeat the operation that originally returned NS_E_DRM_MIGRATION_OPERATION_CANCELLED. For NS_E_DRM_MIGRATION_OPERATION_CANCELLED, assert the exact HRESULT at the producing API in the failing “migration operation cancelled” fixture; then change only the decisive precondition and confirm that the corrected run completes without substituting a neighboring DRM result. After correcting NS_E_DRM_MIGRATION_OPERATION_CANCELLED, verify the requested action and the final license-store, secure-clock, device or migration state relevant to “migration operation cancelled”.
Code-specific operational note
The symbolic phrase “migration operation cancelled” is the important search and telemetry key for NS_E_DRM_MIGRATION_OPERATION_CANCELLED. Keep it beside the exact value 0xC00D279A; the official message “Migration was cancelled by the user, during migration operation cancelled diagnosis.” is useful to users, but it does not identify the producing API, object generation or protected identity on its own, in a migration operation cancelled incident.
Technical references
- Backing up and restoring DRM licenses — platform documentation used to distinguish
NS_E_DRM_MIGRATION_OPERATION_CANCELLEDfrom adjacent results. - Obtaining the required DRM library — official Windows Media DRM context for
NS_E_DRM_MIGRATION_OPERATION_CANCELLED. - DRM client programming guide — API and state rules relevant to this
NS_E_DRM_MIGRATION_OPERATION_CANCELLEDboundary. - Windows Media DRM error codes — platform documentation used to distinguish
NS_E_DRM_MIGRATION_OPERATION_CANCELLEDfrom adjacent results.
Looking for a different code? Search another status or error code.