| Previous | Next |
| NS_E_CANNOT_PAUSE_LIVEBROADCAST | NS_E_DUPLICATE_DRMPROFILE |
NS_E_DRM_PROFILE_NOT_SET
Locate the failing contract
NS_E_DRM_PROFILE_NOT_SET is the result to preserve when the encoder session reached protected output without a DRM profile bound to it. The subsystem producing this result is Windows Media Encoder DRM profiles, not the media decoder; it performs encoder-session configuration that selects a stored DRM profile and uses its identifier, policy and secret while packaging live or file-based protected output.
The strongest confirmation is to inspect the session configuration immediately before encoding starts.
Evidence from one operation
Do not separate this result from its owning state: encoding session, DRM profile identifier, profile store, password, selected audience/output and profile-count limit. The diagnostic record is the profile ID supplied to the session, profile enumeration result, profile-store location, password length and the point at which the encoder binds the profile.
This evidence matters because the rejected condition is specifically that the encoder session reached protected output without a DRM profile bound to it.
A defensible test
- Preserve this result and
0xC00D1B8Fbefore cleanup, fallback or another media item changes the context. - Compare the failure with a known-good case that changes only the property named by this condition: the encoder session reached protected output without a DRM profile bound to it.
- Apply the targeted fix: select and bind an existing DRM profile before beginning the session.
- Associate it with its current Windows Media Encoder DRM profiles object and the requested action.
Model the rejected precondition
A useful failure model links cause and recovery: the encoder session reached protected output without a DRM profile bound to it. Verify that model when you inspect the session configuration immediately before encoding starts, then make the smallest change needed to select and bind an existing DRM profile before beginning the session. Use a known-good counterpart only as a control; do not replace the failing artifact before its identifiers and hashes are recorded.
Avoid a false conclusion
The encoder session reached protected output without a DRM profile bound to it.
One-attempt evidence
| Field | Value |
|---|---|
| Direct check | inspect the session configuration immediately before encoding starts |
Other conditions in the same family
| Result | Why it points elsewhere |
|---|---|
NS_E_DUPLICATE_DRMPROFILE | a new encoder DRM profile reuses an identifier already present in the profile store |
NS_E_DRM_PASSWORD_TOO_LONG | the supplied legacy DRM profile password exceeds the accepted field length |
NS_E_DRMPROFILE_NOTFOUND | the encoder cannot resolve the requested DRM profile identifier |
Resolution test
The next attempt becomes meaningful only after you select and bind an existing DRM profile before beginning the session.
- Do not recreate every encoder profile at once; preserve the original profile ID and compare one known-good profile so a lookup problem is not confused with a policy or password problem.
Technical references
Looking for a different code? Search another status or error code.
