Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I was making some changes in Windows 7 registry and wanted to make sure that my KeePass database (which is called, NewDatabase.kdbx) would be available even if something happens to Windows. I decided to backup my database to a thumb drive and followed all the instructions on your help page. Before going into the registry, I wanted to look up a password in KeePass.
The minute KeePass loaded, I received an error message informing me that the composite key is invalid. When I closed the message, another screen appeared telling me that NewDatabase.key could not be found. I also tried to open it off of my thumb drive without any success.
I really have no idea what to do next. Please help!
KeePass doesn't use the registry so there is likely to be another reason.
Do you normally use a password, key file, Windows User Account or a combination?
How did you backup the database? You should only ever copy the database file.
I usually use my password and have never really paid attention to either the key file or Windows User Account since I had no problems logging in. I copied the database to my thumb drive after unzipping on it the portable version of KeePass. I did not add or delete anything on my hard drive that relates to KeePass.
The fact that KeePass noted a missing key file (called NewDatabase.key) after reporting that the composite key was wrong suggests that KeePass remembered that a key file was used the last time the particular database was successfully opened and that the key file is missing (e.g. it has been renamed, deleted, or the path is incorrect). Check that the name and path of the database shown on the Enter Master Key dialog is correct, also check the Key File option is checked and the correct key file is selected.
As I said in my reply to Paul, I was not even aware of having a key file. All I can find on my hard drive is a file that is called, NewDatabase_key, which is not what KeePass is looking for. I checked the location in which KeePass is looking for the key file, but the only file that even resembles what it's looking for is NewDatabase_key, which is not the correct file.
Are you sure the name of your real database is NewDatabase.kdbx?
The key source information (i.e. name and path of database and key file) is not saved if the database is not opened successfully in the past, so you would not see the second error message unless the database used a key file or unless the config file is out-of-date. Check to see whether "Remember key sources (key file paths, provider paths...)" is checked in Tools>Options>Advanced(tab)>Advanced(section).
The appearance of the second error message can occur in three situations that I can think of:
Thank you so much for all your suggestions. Combining your suggestions with Paul's, I was finally able to open the database.
Many, many thanks and Happy Holidays!
All the best,
Try using NewDatabase_key as a key file and enter your password.
Between you and wellread1 I succeeded in opening my database. Many thanks for your help. I wish you Happy Holidays!
All the best,
Raul Pons Lopez
I have the same problem http://i.imgur.com/mRJDFvo.png
I even have backup files created with "DB Backup Plugin" I cannot open any of them. I'm logging has always. I don't know what's screwed but this is a pain in the ass for an application which never should fail.
Lucky me that didn't change my gmail password account yet and I can recovery losts accounts with recovery.
Are you sure your password is correct? Try showing the password - click on the 3 dots icon.