| Previous | Next |
| ERROR_STREAM_MINIVERSION_NOT_VALID | ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT |
ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION
TxF rejected a miniversion open from a transaction that did not create it
ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION is a Transactional NTFS (TxF) file-system status. Miniversions are transaction-scoped snapshots, not globally addressable file versions. CreateFileTransacted documents that a specific miniversion can be requested when the transaction handle is the transaction modifying the file. The status therefore signals a context mismatch between the miniversion and the transaction supplied for the open.
Record the transaction ID at miniversion creation and at every later open. Common bugs include passing a new retry transaction, restoring a transaction handle from the wrong request context, or sharing a miniversion token across worker queues without its owning transaction. Do not work around the error by switching to a dirty view in another transaction; that changes isolation semantics. Route the read through the creating transaction or use the committed view if cross-transaction visibility is what the application actually needs.
What to inspect
- Associate miniversion tokens with the creating transaction ID.
- Check asynchronous work queues for transaction-context substitution.
- Choose committed-view access for cross-transaction readers rather than borrowing a foreign miniversion.
References
- Microsoft: CreateFileTransacted and miniversion views
- Microsoft: TxF isolation, locking, and file views
- Microsoft: reading the thread miniversion selection
- Microsoft: selecting a miniversion for a subsequent create
Looking for a different code? Search another status or error code.