| Previous | Next |
| NS_E_DRM_UNABLE_TO_CREATE_CERTIFICATE_OBJECT | NS_E_DRM_INVALID_MIGRATION_IMAGE |
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE
The exact DRM condition
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE is Windows Media DRM HRESULT 0xC00D2787. It identifies the migration target is not online or reachable for the migration transaction. The useful scope 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; it is not a generic statement that the media player, network or file system failed.
The built-in message summarizes the user-visible outcome, while the symbolic phrase “migration target not online” preserves the exact WMDRM boundary for diagnosis. For this code, the proof step is to record target identity, service state and transport/authentication result.
The surrounding protocol and store state
Migration is not equivalent to copying license-store files: the importer validates source state, target support and protected identities. A migration image, target-state corruption and an already imported license are independent outcomes and should not be collapsed into one generic restore failure.
Evidence worth preserving
Capture the first NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE occurrence before retry or teardown changes state. The smallest useful record contains:
- Code-specific proof: record target identity, service state and transport/authentication result.
- Protected identity: migration image identity, hash and creation time.
- Operation state: legacy V2 secure-store entry and supplied password.
- Persistence or transport: importer plug-in availability and current operation state.
- Security context: per-license duplicate or import result.
- Correlation point: source and target OS versions and user SIDs.
Prefer IDs, hashes, sizes, and timestamps. Never log keys, passwords, licenses, or decrypted media.
Related codes and the diagnostic split
| Result | Different boundary |
|---|---|
NS_E_DRM_INVALID_MIGRATION_IMAGE | The migration image fails format, signature or source-identity validation. |
NS_E_DRM_MIGRATION_TARGET_STATES_CORRUPTED | Protected DRM state on the migration target is corrupt. |
NS_E_DRM_MIGRATION_IMPORTER_NOT_AVAILABLE | The required migration importer component is unavailable. |
Order the NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE event chain by timestamp; prefer the earliest specific result.
Diagnostic sequence
- Preserve
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE, the calling interface and the first lower-level status before a wrapper replaces it. - Correlate
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINEwith one KID/license ID, content hash, device certificate or migration operation ID for this path. - Reconstruct the state transition immediately preceding “migration target not online” instead of starting from the final player dialog.
- Prove the boundary by ensuring you can record target identity, service state and transport/authentication result.
- After you bring the supported target online and restart with a fresh migration operation, verify both the requested right and the final store/device state.
Correcting the producing condition
Resolve NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE at its producing boundary: bring the supported target online and restart with a fresh migration operation. A player reinstall, reboot or new license request is useful only when it changes the “migration target not online” boundary and can be verified against the original evidence.
Representative case: The source creates a migration image but cannot contact the destination service.
Actions that do not prove a fix
- Avoid running concurrent playback or DRM operations against the source while migration owns it. That changes evidence without demonstrating why
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINEwas produced. - Avoid editing migration images or combining data from different source machines. That shortcut can create a second store, identity or policy problem.
- Do not reduce
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINEto “DRM failed” in telemetry; retain the HRESULT, symbolic name, operation and object identity.
Regression check
Repeat the operation that originally returned NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE. Assert the exact HRESULT at the producing API in the failing “migration target not online” 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_TARGET_NOT_ONLINE, verify the requested action and the final license-store, secure-clock, device or migration state relevant to “migration target not online”.
Code-specific operational note
The symbolic phrase “migration target not online” is the important search and telemetry key for NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE. Keep it beside the exact value 0xC00D2787; the official message “A problem has occurred in the Digital Rights Management component during license migration. Contact Microsoft product support.” is useful to users, but it does not identify the producing API, object generation or protected identity on its own.
Technical references
- Backing up and restoring DRM licenses — platform documentation used to distinguish this result from adjacent results.
- Obtaining the required DRM library — official Windows Media DRM context for
NS_E_DRM_MIGRATION_TARGET_NOT_ONLINE. - DRM client programming guide — API and state rules relevant to this boundary.
- Windows Media DRM error codes
Looking for a different code? Search another status or error code.