What does Windows error code 6811 (ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT) mean?

 
Previous Next
ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION ERROR_CANT_CREATE_MORE_STREAM_MINIVERSIONS

ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT

Miniversions are historical views and cannot be opened for modification

ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT is a Transactional NTFS (TxF) file-system status. A miniversion represents a snapshot of file state during a transaction. Its purpose is to let a caller refer back to that version, while the transaction can continue changing the current dirty view. Opening the historical snapshot with write, delete, or other modification intent would make the meaning of the saved version ambiguous, so TxF rejects the request.

Inspect the desired-access and create options passed to CreateFileTransacted. Generic access masks can accidentally include write capabilities when a miniversion reader needs only FILE_READ_DATA or equivalent read access. Separate code paths for snapshot reads and transactional writes. To modify the file, reopen the dirty or default view in the owning transaction and treat the miniversion as immutable diagnostic or comparison input.

What to inspect

  • Log the exact desired-access mask used for the miniversion open.
  • Remove write, delete, and modification intent from historical-view handles.
  • Reopen the transaction dirty view when changes are required.

References


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