What does HRESULT 0x87AF0308 (SQLITE_E_READONLY_ROLLBACK) mean?

 
Previous Next
SQLITE_E_NOTICE_RECOVER_ROLLBACK SQLITE_E_IOERR_WRITE

SQLITE_E_READONLY_ROLLBACK

SQLITE_E_READONLY_ROLLBACK is the extended SQLite read-only result for a rollback-journal failure. The database environment does not allow SQLite to create or update the journal required for a safe transaction.

What to check

  • Check write access to the directory that contains the database, not only the database file itself.
  • Check antivirus, backup agents, synchronization clients, and mount options that may block journal creation or replacement.
  • Use a correctly writable data path or open the database explicitly read-only when writes are not expected.
PRAGMA journal_mode;

SQLite: Result and Error Codes

SQLite: File locking and concurrency


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