| Previous | Next |
| ERROR_EXPIRED_HANDLE | ERROR_CTX_WINSTATION_NAME_INVALID |
ERROR_TRANSACTION_NOT_ENLISTED
This status means the requested KTM operation requires a resource manager that is enlisted in the transaction, but the required enlistment is absent. A valid transaction handle and a valid resource-manager handle do not by themselves establish participation; KTM creates that relationship through an enlistment object.
Distinguish the related statuses
ERROR_TRANSACTION_NOT_JOINEDis the more specific case of trying to prepare a transaction that the resource manager never joined.ERROR_TRANSACTION_RESPONSE_NOT_ENLISTEDconcerns a superior enlistment whose notification mask lacks a particular completion response.ERROR_ENLISTMENT_NOT_FOUNDindicates that a named or referenced enlistment object cannot be opened.
What to trace
Trace the transaction identifier, resource-manager identity, result of CreateEnlistment, and the enlistment handle used for later calls. Ensure that code does not confuse an enlistment from an earlier transaction with the current one, especially after recovery or a retry. Treat the original failure to create or recover the enlistment as the root cause.
See CreateEnlistment, KTM resource-manager and enlistment functions, and the KTM transaction sequence.
Looking for a different code? Search another status or error code.