| Previous | Next |
| ERROR_OBJECT_NO_LONGER_EXISTS | ERROR_STREAM_MINIVERSION_NOT_VALID |
ERROR_STREAM_MINIVERSION_NOT_FOUND
The selected miniversion identifier is not present for this transacted file
ERROR_STREAM_MINIVERSION_NOT_FOUND is a Transactional NTFS (TxF) file-system status. TxF miniversions are snapshots of a file during a transaction. FSCTL_TXFS_CREATE_MINIVERSION returns version information, and CreateFileTransacted can request a specific miniversion when the calling transaction is the transaction modifying the file. This error means the identifier supplied for the open cannot be resolved to an existing miniversion of that stream.
Log the base version, miniversion ID, transaction ID, and file identity together when a miniversion is created. Do not persist a bare miniversion number and later reuse it for another stream or transaction. Remember that miniversions are discarded when the transaction commits or rolls back. If the application caches them, invalidate that cache at transaction completion and after savepoint operations that can change version state.
What to inspect
- Pair every miniversion ID with its file identity and creating transaction.
- Check whether the transaction has already committed or rolled back.
- Regenerate a needed snapshot rather than guessing or incrementing a miniversion number.
References
- Microsoft: TxF filesystem control codes
- Microsoft: TxF structures and version metadata
- Microsoft: CreateFileTransacted and miniversion views
- Microsoft: querying committed and handle file versions
Looking for a different code? Search another status or error code.