What does NTSTATUS 0xC0150002 (STATUS_SXS_CANT_GEN_ACTCTX) mean?

 
Previous Next
STATUS_SXS_SECTION_NOT_FOUND STATUS_SXS_INVALID_ACTCTXDATA_FORMAT

STATUS_SXS_CANT_GEN_ACTCTX

Activation-context generation stopped before binding completes

STATUS_SXS_CANT_GEN_ACTCTX is an umbrella result from the stage that turns application and assembly manifest information into an in-memory activation context. The manifest may be embedded in a resource or supplied as an external file; a problem in any required dependency can prevent that context from being built.

Treat it as a starting point, not as a diagnosis. It is broader than STATUS_SXS_MANIFEST_PARSE_ERROR, which identifies XML syntax, and broader than STATUS_SXS_ASSEMBLY_NOT_FOUND, which identifies resolution of a referenced assembly. The SideBySide event details normally identify the actual manifest path, line or dependent identity that failed first.

What to inspect

  • Preserve the SideBySide event details and the exact executable path before changing runtime packages or copying manifests.
  • Determine whether Windows selected an embedded application manifest or an external one; an embedded manifest takes precedence for the default context.
  • Validate every dependent assemblyIdentity, including architecture, language, version and public-key token where present.

References


Looking for a different code? Search another status or error code.