| Previous | Next |
| NS_E_WMP_UI_SUBELEMENTNOTFOUND | NS_E_WMP_UI_VIEWIDNOTFOUND |
NS_E_WMP_UI_VERSIONPARSE
The exact condition behind the dialog
Windows Media Player reports NS_E_WMP_UI_VERSIONPARSE (0xC00D0FE2) when the WMP skin version processing instruction cannot be parsed. The UI version parse condition is owned by the XML-based skin loader that opens a skin package, finds its.wms definition, constructs views and controls, applies attributes and attaches event handlers to artwork-backed UI elements.
The additional test for the UI version parse condition is to preserve the prolog and compare it with the documented WMP version-instruction syntax; that evidence is more useful than reinstalling the Player or changing several unrelated settings at once.
Inputs that distinguish the causes
Preserve the first occurrence before retry or fallback changes the UI version parse evidence. The following fields should identify the same object instance:
| Field | What to record |
|---|---|
| What to verify | preserve the prolog and compare it with the documented WMP version-instruction syntax |
| Artifact identity | event name, first handler and any duplicate handler declaration for the UI version parse reproduction |
| Runtime state | skin archive path, member list and selected.wms definition for the UI version parse reproduction |
| Owning object | THEME/version declaration and currentViewID for the UI version parse reproduction |
| Lower-level result | control type, object ID and parent/child relation for the UI version parse reproduction |
| Correlation | resource path, decoded dimensions and transparency/mapping attributes for the UI version parse reproduction |
Do not confuse it with nearby results
| Result | Different condition |
|---|---|
NS_E_WMP_UI_SUBELEMENTNOTFOUND | a required child object is absent from the current skin object |
NS_E_WMP_UI_VIEWIDNOTFOUND | currentViewID names a view that is not defined in the skin file |
NS_E_WMP_UI_NOTATHEMEFILE | the XML is readable but does not define a WMP THEME document |
Investigation order
- Start with the symbolic HRESULT; do not diagnose UI version parse from the final dialog alone.
- Record the bytes or object state that produced UI version parse before automatic recovery mutates it.
- Exclude a stale callback or superseded object instance as the source of the UI version parse event.
- Use this deciding observation for UI version parse: preserve the prolog and compare it with the documented WMP version-instruction syntax.
- Apply the smallest supported remedy for UI version parse: write a supported version instruction without malformed quoting or placement.
What a real fix must change
- Avoid renaming arbitrary XML to.wms or repacking a skin without preserving its relative resource paths while investigating UI version parse; it can destroy the artifact or state needed to explain this result.
Technical references
- Windows Media Player skins — documentation for this HRESULT.
- Skin definition file structure — normative or platform material relevant to this HRESULT.
- Skin definition XML structure — API or format context.
- Skin files and package contents — documentation for this HRESULT.
Looking for a different code? Search another status or error code.