What does HRESULT 0x87AF0408 (SQLITE_E_READONLY_DBMOVED) mean?

 
Previous Next
SQLITE_E_CONSTRAINT_FOREIGNKEY SQLITE_E_IOERR_FSYNC

SQLITE_E_READONLY_DBMOVED

SQLITE_E_READONLY_DBMOVED is the extended SQLite read-only result indicating that the database file was moved, replaced, or otherwise changed beneath an open connection.

What to check

  • Check backup, restore, synchronization, deployment, and antivirus workflows that may replace or rename the live database file.
  • Close and reopen connections after a controlled database replacement; do not continue writing through an old open handle.
  • Use SQLite backup or application-level maintenance procedures for online copies instead of file replacement during normal service.
PRAGMA data_version;

SQLite: Result and Error Codes

SQLite: Online Backup API

SQLite: Write-Ahead Logging


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