| Previous | Next |
| STATUS_SXS_VERSION_CONFLICT | STATUS_SXS_THREAD_QUERIES_DISABLED |
STATUS_SXS_WRONG_SECTION_TYPE
The query asks for the wrong activation-context section type
STATUS_SXS_WRONG_SECTION_TYPE means that the requested activation-context section type does not match the kind of query being made. It is a caller/query contract failure: the context can be valid, but the selected section lookup API or information class is incompatible with the data being requested.
It differs from STATUS_SXS_SECTION_NOT_FOUND, where the requested type is valid but absent, and from STATUS_SXS_KEY_NOT_FOUND, where the section exists but a particular entry is missing. Inspect the API contract before changing manifests.
What to inspect
- Record the exact
QueryActCtx,FindActCtxSectionStringorFindActCtxSectionGuidcall and its flags. - Confirm whether the target data is keyed by string, GUID, assembly index or an assembly/file query index.
- Check the corresponding manifest declaration only after the query type is known to be correct.
References
Looking for a different code? Search another status or error code.