| Previous | Next |
| NS_E_ASX_INVALIDVERSION | NS_E_ASX_NOTHING_TO_WRITE |
NS_E_ASX_INVALID_REPEAT_BLOCK
Understanding NS_E_ASX_INVALID_REPEAT_BLOCK in a Windows Media playlist
NS_E_ASX_INVALID_REPEAT_BLOCK (0xC00D106B) is returned when a REPEAT block has invalid placement, count semantics or child structure.
Distinguish in-memory Playlist state, WPL or ASX parsing, nested-list expansion, Media-object resolution and execution of referenced items. Record what the Player had already completed because later retries often replace the original evidence. The specific rejected condition is a REPEAT block has invalid placement, count semantics or child structure.
Minimal playlist experiment
- Start from the original call and log
0xC00D106Btogether with its object and operation phase. - Collect the complete REPEAT element, COUNT value, nested ENTRY elements and the parser position of the rejection before changing the machine.
- Use this single-variable test: replace the loop with one ordinary ENTRY; then reintroduce a finite REPEAT with a single valid child.
- Repeat on a fresh object if the original predates a configuration, device or resource change.
- Validate the expected next operation, not just initial open or object creation.
What the result means
| Retest outcome | Interpretation |
|---|---|
| Fresh object succeeds | Lifetime, cached configuration or stale playlist/graph state contributed to this result. |
| A later HRESULT appears | The rejected condition — a REPEAT block has invalid placement, count semantics or child structure — was cleared; diagnose the new code at its own layer. |
Actions that obscure the cause
- changing media codecs when the metafile control structure is invalid.
Technical references
Looking for a different code? Search another status or error code.
