| Previous | Next |
| SQLITE_E_RANGE | SQLITE_E_NOTICE |
SQLITE_E_NOTADB
SQLITE_E_NOTADB corresponds to SQLite SQLITE_NOTADB. SQLite opened a file but found that it is not a database file it can interpret.
What to check
- Verify the resolved path; a common cause is opening a configuration file, an HTML error page, an empty placeholder, or the wrong environment database.
- Check whether the application expects an encryption extension or a different SQLite-compatible engine that is missing at runtime.
- Preserve the original file before recovery attempts and do not overwrite it by creating a new database at the same path.
PRAGMA database_list;
SQLite: Result and Error Codes
Looking for a different code? Search another status or error code.
