Error CodesKeePass error codes and their meanings. |
Error Code | Name | User? | Description |
---|---|---|---|
0x00000000 | Unknown | An unknown error occured. KeePass uses this error code internally and the user should never see this error. | |
0x00000001 | Success | No error occured. Everything worked perfectly. | |
0x00000002 | Invalid Parameter |
A function within KeePass has received an invalid parameter. This should never happen. | |
0x00000003 | Out of Memory | The operating system didn't grant KeePass enough memory. The current operation was cancelled. The database maybe is in a broken state and should not be saved. | |
0x00000004 | Invalid Key | The user-provided composite key (password / key file) for the database
was incorrect, or the database is corrupted. Make sure the password and/or key file is correct. If you are absolutely sure that the password / key file is correct, then probably the file is corrupted (maybe you accidently removed the USB stick from the computer without unmounting it). In this case, try the Repair Database functionality of KeePass. |
|
0x00000005 | File Access Error: Read File |
The operating system (Windows) didn't grant KeePass read access to the specified
database file. Note that this doesn't mean that the database is corrupted or something like that;
KeePass just cannot get read access to the file. Make sure that you can read the file. |
|
0x00000006 | File Access Error: Write File |
The operating system (Windows) didn't grant KeePass write access to the specified
database file. Try saving the database to a different location, where the administrators of your network have granted you write access to. |
|
0x00000007 | File Error: Read | An error occured while reading the database or key file. This can happen
if you for example open a big database from USB stick and remove the stick while KeePass is
reading the file. Make sure KeePass can access the complete file and don't remove the device before KeePass has read it completely. |
|
0x00000008 | File Error: Write | An error occured while writing the database or key file. This can happen
if you for example save a big database to USB stick and remove the stick while KeePass is
writing the file. Make sure there is enough free space left on the target device and don't remove the device before KeePass has written the file completely. Make sure you correctly unmount the device (USB stick). |
|
0x00000009 | Invalid Random Source | This is an internal cryptographic error. The random source, that is used
to generate random numbers, is invalid. This means that it produces non-random values and therefore
the security (secrecy) of your database cannot be guaranteed; therefore the operation was aborted. This error should never occur. If you see this error code, please submit a bug report (see below). |
|
0x0000000A | Invalid File Structure | The structure of the current database file is invalid. This can either
happen if the user-supplied composite key (password, key file) is invalid or if the file
is corrupted. If you are sure that the key is correct, try the Repair Database functionality. |
|
0x0000000B | Cryptographic Error | An internal cryptographic error occured. One of the cryptographic components cannot be initialized, tested and/or returned an error. | |
0x0000000C | Invalid File Size | The file size isn't valid. This means that the file is corrupted. | |
0x0000000D | Invalid File Signature | The file's signature is invalid. This means that the file is corrupted and/or not a file that KeePass can read. | |
0x0000000E | Invalid File Header | The file's header is invalid. The file could be corrupted, could have been created by a newer KeePass version, or could not be a KeePass file at all. | |
0x0000000F | File Access Error: Read Key |
The operating system (Windows) didn't grant KeePass read access to the specified
key file or it doesn't exist.
Note that this doesn't mean that the key file is corrupted,
KeePass just cannot get read access to the file. Make sure the media that contains the key file is inserted and that KeePass has the right to access it (check file access rights, ensure that no other application is blocking the file, ...). In case you're selecting the key file's drive (i.e. not specifying it manually), have a look for the "pwsafe.key" file. See the composite key documentation for more information about using key files. |
|
0x00000010 | Prov: Invalid Key | The key provider plugin did not supply a valid key. | |
0x00000011 | File Error: Verify | The data that has been sent to the disk/drive does not match the data that is now stored on the disk/drive, i.e. the file was corrupted by something. See error 0x00000008. | |
0x00000012 | KDBX File | The file you tried to open is in KDBX format. KDBX files are only supported by KeePass 2.x. Either use KeePass 2.x, or use the 'Export' feature of KeePass 2.x to migrate the file to a KeePass 1.x KDB file. | |
0x00000013 | System Error | A user-level error occured and the system provided the detailed description shown in the error message box. |
User?
: This error is not a bug. KeePass has failed to perform some operation and you can fix this "error" yourself. For example, when you entered an invalid key for your database, failing to open the database isn't a bug.
: This error is a bug. You should never see this error. Please submit a Bug Report.