| Previous | Next |
| NS_E_BKGDOWNLOAD_WRONG_NO_FILES | NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB |
NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB
Failure point and ownership
NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB with value 0xC00D125E records calling completion on a job that has already entered the canceled terminal state. The producing call and its state are more diagnostic than a later aggregate Player failure.
Underlying mechanism
The Player’s download manager coordinates an owner window, a plug-in, background job identity, temporary files and final completion or cancellation. A downloaded .wmd package adds an extraction and cataloguing phase after transfer.
Receiving all network bytes is not the same as completing the job, moving the temporary file or successfully unpacking and cataloguing a Windows Media Download package. The condition can be reproduced when a late transfer callback calls Complete after the user canceled the job.
Trace fields worth keeping
| Evidence | Why it matters for completecancelledjob |
|---|---|
| Producing object and operation | job GUID and Player signature, BITS/job state, expected and actual file count, remote and local names, temporary path, completion/cancel request, plug-in and callback identity, COM apartment, WMD extraction result and first underlying HRESULT |
| Key observation | job state history, cancel source/time, Complete call and temporary-file status |
| Controlled comparison | Repeat the producing call after changing only this condition: do not complete the canceled generation; create a new job if the content is still required. |
Decision path
- Capture
0xC00D125E, the exact Player/API operation and the first timestamp at which it appears. - Save job state history, cancel source/time, Complete call and temporary-file status; do this before ejecting media, reconnecting a device, canceling a job or rebuilding the Player object.
- Correlate the result with job GUID and Player signature, BITS/job state, expected and actual file count, remote and local names, temporary path, completion/cancel request, plug-in and callback identity, COM apartment, WMD extraction result and first underlying HRESULT.
- Reproduce once with the original source and destination, then apply only this change: do not complete the canceled generation; create a new job if the content is still required.
Close alternatives
| Related result | Different condition |
|---|---|
NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB | calling cancellation after the job was already completed and acknowledged |
NS_E_BKGDOWNLOAD_WRONG_NO_FILES | validating the file list attached to a Player-owned background job |
NS_E_BKGDOWNLOAD_NOJOBPOINTER | dereferencing a missing or released background-job interface |
Safe correction
Correct this boundary by making sure you do not complete the canceled generation; create a new job if the content is still required. Then reacquire the interface or media state that produced it and repeat that call.
Source material
Looking for a different code? Search another status or error code.