| Previous | Next |
| SQLITE_E_IOERR_LOCK | SQLITE_E_IOERR_DIR_CLOSE |
SQLITE_E_IOERR_CLOSE
SQLITE_E_IOERR_CLOSE corresponds to SQLITE_IOERR_CLOSE: the VFS failed in its xClose method while SQLite was closing a file handle.
What to check for SQLITE_E_IOERR_CLOSE
- Check for filesystem and storage errors at shutdown, rotation, backup, or service-stop time.
- Inspect the preceding error; a close failure can be secondary to an earlier write or lock failure.
- Preserve the files and logs before restarting repeatedly, especially if a transaction was active.
PRAGMA database_list;
SQLite: Result and Error Codes
Diagnostic interpretation
This result has the HRESULT value 0x87AF100A. AllStat records the condition as “SQLITE_IOERR_CLOSE”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the sqlite / ioerr / close operation.
- compare the failing machine with a working one at the same configuration boundary: component version, policy, registration, identity, and target resource.
Retry and recovery
Retry this result only when the owning API documents a transient state or after the condition described as “SQLITE_IOERR_CLOSE” has changed.
Looking for a different code? Search another status or error code.
