| Previous | Next |
| SQLITE_E_IOERR_SHORT_READ | SQLITE_E_CONSTRAINT_COMMITHOOK |
SQLITE_E_CANTOPEN_ISDIR
SQLITE_E_CANTOPEN_ISDIR is the extended SQLite cannot-open result returned when the requested database path is a directory.
What to check for SQLITE_E_CANTOPEN_ISDIR
- Log the final expanded path and check configuration variables, command-line arguments, and path joins.
- Check whether a directory was created where the application expected a database file, for example during deployment or volume mounting.
- Correct the configuration and create or restore the database file through the normal application process.
PRAGMA database_list;
SQLite: Result and Error Codes
Diagnostic interpretation
This result has the HRESULT value 0x87AF020E. AllStat records the condition as “SQLITE_CANTOPEN_ISDIR”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the sqlite / cantopen / isdir operation.
- check the documented return contract of the specific API because the same HRESULT can require different recovery in different interfaces.
Retry and recovery
Retry this result only when the owning API documents a transient state or after the condition described as “SQLITE_CANTOPEN_ISDIR” has changed.
Looking for a different code? Search another status or error code.