| Previous | Next |
| STATUS_APPEXEC_CONDITION_NOT_SATISFIED | STATUS_APPEXEC_INVALID_HOST_GENERATION |
STATUS_APPEXEC_HANDLE_INVALIDATED
The supplied AppExec handle is stale
The documented message says the handle has been invalidated and is no longer accepted for the requested operation. Public documentation does not define the handle's internal object type or enumerate every invalidation trigger. The safe conclusion is a lifetime failure: the caller is using a reference after the owning AppExec component stopped considering it valid.
Do not attempt to reconstruct the handle from its numeric value or assume that another process or host instance accepts it. Identify the API that created it, the event that invalidated it, and the work that remained queued after invalidation. A fresh activation or lookup may be required to obtain new state.
What to inspect
- Trace handle creation, transfer or duplication, callback registration, invalidation, and the failing use.
- Record the owning component, request ID, package identity, user, and host information exposed by the caller.
- Cancel queued work when its owner reports teardown, cancellation, or invalidation.
- Use the supported API to obtain a new handle instead of retrying with the stale value.
References
- Microsoft Open Specifications: NTSTATUS values
- Microsoft Windows SDK metadata: ntstatus.h
- Microsoft: create hosted apps
- Microsoft: troubleshoot app packaging and deployment
Looking for a different code? Search another status or error code.