| Previous | Next |
| NS_E_WMX_ITEM_DOES_NOT_EXIST | NS_E_WMX_ITEM_UNSETTABLE |
NS_E_WMX_ITEM_TYPE_ILLEGAL
Understanding NS_E_WMX_ITEM_TYPE_ILLEGAL in a Windows Media playlist
NS_E_WMX_ITEM_TYPE_ILLEGAL (0xC00D1072) is returned when the requested object type is not permitted at that location in the WMX/WPL playlist model.
Distinguish in-memory Playlist state, WPL or ASX parsing, nested-list expansion, Media-object resolution and execution of referenced items. The relevant condition is the requested object type is not permitted at that location in the WMX/WPL playlist model.
Minimal playlist experiment
- Capture the resource identity and parent element type, requested child type, source playlist format and API method used to create it.
- Verify that the caller uses the current Playlist, Media, Network, graph, device or DRM object instance.
- Run the narrow experiment: create the same item under the documented parent in a new playlist and compare the resulting hierarchy.
- Do not combine this focused test with a codec-pack change, Player reset, or broad registry cleanup.
- If the retest returns a different specific HRESULT, diagnose that new failure as the next stage.
What the result means
| Retest outcome | Interpretation |
|---|---|
| A later HRESULT appears | The rejected condition — the requested object type is not permitted at that location in the WMX/WPL playlist model — was cleared; diagnose the new code at its own layer. |
Actions that obscure the cause
- forcing an unsupported node through raw XML editing.
Technical references
- Windows Media Player SDK
- Windows Media Playlists
- Windows Media Playlist elements
- Managing playlists
- Microsoft HRESULT registry
The fix is demonstrated by the same Player path succeeding with the same resource, not by another application opening it.
Looking for a different code? Search another status or error code.