What does NTSTATUS 0xC0150010 (STATUS_SXS_INVALID_DEACTIVATION) mean?

 
Previous Next
STATUS_SXS_EARLY_DEACTIVATION STATUS_SXS_MULTIPLE_DEACTIVATION

STATUS_SXS_INVALID_DEACTIVATION

What STATUS_SXS_INVALID_DEACTIVATION means

STATUS_SXS_INVALID_DEACTIVATION (0xC0150010) means the activation context being deactivated is not active for the current thread. This is an activation-stack lifecycle error, not evidence of a missing DLL or a general WinSxS installation problem.

What to capture

  • Record the thread ID, the activation cookie returned by the matching activation call, and the order of activation and deactivation operations.
  • Check whether the cookie was reused after deactivation, passed to another thread, or deactivated after stack state had already changed.
  • Preserve the flags used for deactivation because they determine how the activation stack is searched or unwound.

Recovery

Balance activation and deactivation on the correct thread and use each cookie only for the activation instance that produced it. If the status is intermittent, instrument activation-stack ownership and thread transitions rather than repairing unrelated side-by-side assemblies.

References


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