I'm confused-- 2.26 is definitely supported. I'm running it right now. What error are you getting that indicates it isn't? What version of KeeChallenge are you running?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like this can happen sometimes after updating Keepass. As far as I can tell, there's an issue with caching of some sort. A few people have suggested that installing a later version of the .NET Framework can fix this. Maybe download v3.5 and give it a shot? FWIW v1.0.2 was compiled against Keepass 2.26.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can also try going to C:\Users\You\AppData\Local\KeePass\PluginCache and deleting the contents to force a reload. This shouldn't affect KeeChallenge honestly since it's not .plgx, but it couldn't hurt.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using a portable KeePass with <plugincachepath>{APPDIR}\PluginCache</plugincachepath> - so UserProfile doesn't matter.
Anyway I deleted everything from the cache - and it doesn't help.
As it is portable one I've tried it on different systems, mainly Windows 7 and Windows XP (both x86 and x64) with the same result. Please keep in mind all systems have latest .NET obtained from Windows Update (I just checked it on the system from which I am writing this comment - it is 3.5.1).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmmm, this is quite odd. I'm trying my best to replicate this so I can debug it, but I'm not having much success. I downloaded the portable Keepass 2.27 and loaded the DLL's into the directory and everything comes up fine. As a last shot, here are the exact files I'm using. Let me know if these help?
After loading your files, I still get an error (as attached). I feel like the program is expecting 2.26, when I'm using 2.27? Bear in mind, I'm using via Google Drive.
Okay - A fresh version of KeePass (residing in Google Drive) loads KeeChallenge just fine, with no other plugins installed. Now I'll slowly start adding plugins back in as needed... let's see how she rolls.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Right. It looks like my original keepass.exe.config file is the culprit. I added that file back in to the new instance of KeePass, and I pulled the exact same error. Is there anything identifiable / sensitive in that file? If not, I'm happy to send it over to you if needed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, basically KeeChallenge needs to reference Keepass.exe. When The DLL is built, it references a specific version of Keepass. The file keepass.exe.config contains a line like this: <bindingredirect oldversion="2.0.9.0-2.27.0.0" newversion="2.27.0.15507">. Basically that just says that we can request any version between 2.0 and 2.27 and it will load fine using the 2.27 exe. If you somehow got an old version of the config file left in your install folder, the range would be 2.0-2.26 and it would fail since 2.27 is outside that range. You should always be able to fix the problem by grabbing the latest config file from the keepass site if this recurs. </bindingredirect>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Correct: My old keepass.exe.config file shows the new version as 2.26.x.xxxxx. I assume it's possible to update the version numbers in the old config file, but I won't go there - I'll start from scratch. Thanks very much!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm confused-- 2.26 is definitely supported. I'm running it right now. What error are you getting that indicates it isn't? What version of KeeChallenge are you running?
Please find screenshots attached.
Unfortunately it is in Russian, but I believe they are self-explained.
It looks like this can happen sometimes after updating Keepass. As far as I can tell, there's an issue with caching of some sort. A few people have suggested that installing a later version of the .NET Framework can fix this. Maybe download v3.5 and give it a shot? FWIW v1.0.2 was compiled against Keepass 2.26.
You can also try going to C:\Users\You\AppData\Local\KeePass\PluginCache and deleting the contents to force a reload. This shouldn't affect KeeChallenge honestly since it's not .plgx, but it couldn't hurt.
I am using a portable KeePass with <plugincachepath>{APPDIR}\PluginCache</plugincachepath> - so UserProfile doesn't matter.
Anyway I deleted everything from the cache - and it doesn't help.
As it is portable one I've tried it on different systems, mainly Windows 7 and Windows XP (both x86 and x64) with the same result. Please keep in mind all systems have latest .NET obtained from Windows Update (I just checked it on the system from which I am writing this comment - it is 3.5.1).
Ben - Having this same issue in 2.27... All above suggestions have been attempted.
Hmmm, this is quite odd. I'm trying my best to replicate this so I can debug it, but I'm not having much success. I downloaded the portable Keepass 2.27 and loaded the DLL's into the directory and everything comes up fine. As a last shot, here are the exact files I'm using. Let me know if these help?
Yubichallenge-KeePass-2.27.zip - this version works well with my portable 2.27, thank you!
Checking now. Will report back.
After loading your files, I still get an error (as attached). I feel like the program is expecting 2.26, when I'm using 2.27? Bear in mind, I'm using via Google Drive.
I'm going to try these files with a clean version of KeePass. Let's see if that makes a difference.
Hmm, what about this one? Also, do you have a file called Keepass.exe.config in the same directory as Keepass.exe?
"do you have a file called Keepass.exe.config in the same directory as Keepass.exe?"
Yes I do.
Okay - A fresh version of KeePass (residing in Google Drive) loads KeeChallenge just fine, with no other plugins installed. Now I'll slowly start adding plugins back in as needed... let's see how she rolls.
Right. It looks like my original keepass.exe.config file is the culprit. I added that file back in to the new instance of KeePass, and I pulled the exact same error. Is there anything identifiable / sensitive in that file? If not, I'm happy to send it over to you if needed.
Yeah, basically KeeChallenge needs to reference Keepass.exe. When The DLL is built, it references a specific version of Keepass. The file keepass.exe.config contains a line like this: <bindingredirect oldversion="2.0.9.0-2.27.0.0" newversion="2.27.0.15507">. Basically that just says that we can request any version between 2.0 and 2.27 and it will load fine using the 2.27 exe. If you somehow got an old version of the config file left in your install folder, the range would be 2.0-2.26 and it would fail since 2.27 is outside that range. You should always be able to fix the problem by grabbing the latest config file from the keepass site if this recurs. </bindingredirect>
Correct: My old keepass.exe.config file shows the new version as 2.26.x.xxxxx. I assume it's possible to update the version numbers in the old config file, but I won't go there - I'll start from scratch. Thanks very much!