Keepass Plugin broken on Version 2.17++

Keepass Plugin broken on Version 2.17++

avatar

Hi,
I use the keepass plugin in RDM 6.6.
Since I upgraded Keepass to Version 2.17 I keep getting an error saying
"The following plugin is incompatible with the current KeePass version:
RemoteDesktopManagerPlugin.dll
Have a look at the plugin's website for an appropriate version."
I have already downloaded version 2.0.0.0 of the Plugin to no avail.
I also tried Version 2.18.

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

All Comments (32)

avatar

Could you try to install RDM 7.0 and deploy the plugin from the application directly

David Hervieux

avatar

Hi David,
I tried this and Keepass integration works.
But on startup of keepass the RemoteDesktopManagerPlugin.dll
triggers the message again.
so:
1) integration of KP works in RDM
2) KP keeps moaning
I don't know if this is a problem of KP or the plugin

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

Hi,
I think that's because the KeePass finds 2 RemoteDesktopManagerPlugin.dll. Could you verify if you have one in a sub-directory or if you can find it when you are not opening the folder in administrator mode:

http://support.microsoft.com/kb/927387

David Hervieux

avatar

No, there is only one Remotedesktopmanagerplugin.dll in the keepass dir.

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

I know that KeePass search also into any sub folders.

David Hervieux

avatar

I got it.
I had another installed version (2.16) with the corresponding plugin in the programdir.
It seems that Keepass searches in EVERY installationdir it knows of.
Cross-checked this with my 2.18 installation. (renamed all the rdm-keepass-plugin.dll files and activated only the wrong ones and the errors are popping up - then activated only the right ones for each version and putting them in the installdir of the other installation -> Keepass starts without moaning and RDM integration works like a charm).
So you can close this topic and I open this weekend with another piece learned (I hope I don't drop other knowledge in return..)

thank you David for your patience

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

Thank you very much for this information. I was not aware that KeePass was looking into all his installation.

David Hervieux

avatar

I too was having this trouble. I did have various installations across a portable drive, dropbox and a local full installation. Even after I rolled back to only one installation with only one copy of the plugin dll on the system I was still having this trouble. I was finally able to resolve the problem by "unblocking" all files in the installation directory. I expect unblocking the single problematic dll file would have resolved the problem.
Oddly enough, other plugin files were "blocked" as they too had been downloaded from the internet, but they didn't throw these errors. It's odd that this problem only appears to affect the remotedesktopmanagerplugin.dll file.

avatar

thank you for the tips. I think that maybe the other problem are recompiled by keepass in a temp folder. I know that's possible this has never worked for us. Sorry about that.

David Hervieux

avatar

Hi David,

I experience the same problem.
KeePass 2.19 and Remote Desktop Manager 7.1.0.0.
As a test i did an install on a clean system where there was never a KeePass installation before.
Next i installed RDM and configured the KeePass installation Directory.
After that i created a KeePass Credential Entry and pressed "Install Plugin"
RDM than downloads two files with the following versions numbers:
RemoteDesktopManager.Connector.dll 6.9.7.0
RemoteDesktopManagerPlugin.dll 2.0.0.0

If you start KeePass the following error message appears:
The following plugin is incompatible with the current KeePass version:
C:\KeePass\RemoteDesktopManagerPlugin.dll

With version 2.16 it all worked OK, but after the KeePass upgrade to 2.19 it stopped working.

Kind Regards,
Roland Duursma
edited by rolandduursma on 5/22/2012

avatar

Hi,
Could you try to uninstall the RDM plugin, restart KeePass and make sure it's not loaded. After that re-install it.

David Hervieux

avatar

David,

What the best procedure for uninstalling the RDM plugin from the KeePass dir?
Just delete the files?

avatar

Hi,
Deleting the file is the only way I think.

David Hervieux

avatar

Hi David,

Unfortunately the solution you mentioned doesn't work.
When i copy back the 2.16 files from KeePass it works perfect.
What to do now?

Kind Regards,
Roland Duursma

avatar

Roland,
I've had this trouble as well. The problem appears to be related to the ADS attached to the RemoteDesktopMangerPlugin.dll. In the environment that is generating this problem, right-click the RemoteDesktopMangerPlugin.dll file and choose properties, then click the "Unblock" button and click ok. When you restart KeePass it should load the plugin without any errors.

avatar

Hi cookwjc,

Thanks for your reply.
I have checked the file but there is no option to Unblock it when i view the Properties of the file.

I'm kinda stuck right now, thinking of going back to KeePass 2.16 till this issue is resolved.

Regards,
Roland

avatar

make sure all files in your keepass directory are unblocked.

avatar

I have checked every single file in the KeePass directory, all of them do not have the Unblock option, so i guess none of them is blocked.

avatar

Could you try to install it in completely different folder and not a sub folder?

David Hervieux

avatar

I have already tried that.
Installed it on a fresh system. Configured RDM where the KeePass directory resides, created a credential entry and downloaded the plugin from within the RDM, the same error occurs.
When i copy the KeePass directory with the RDM plugin to another system where there was never RDM neither KeePass installed, it also occurs.
I happens on Windows 2003, XP, Windows 7 etc.

Can you send me a KeePass copy together with a DLL that works in your configuration?
I can send you my copy of KeePass with the RDM DLL that i have tried on several systems here.

avatar

David Hervieux

avatar

Thank you David,

Indeed this works, but....you've sent me a 2.18 copy of KeePass.
I'm using 2.19, have you tried it with the latest version of KeePass?

avatar

David Hervieux

avatar

Hi David,

Thanks, i found something out.
When i place your version on our File server (windows server 2008R2), and i start KeePass from the network, i receive the error.
When i run your version on my local filesystem, it works ok.
Maybe it has something to do with running the DLL over a network.
Can you confirm?

avatar

Hi,
it's possible because KeePass must be unable to load the dll

David Hervieux

avatar

David,

Have you tried it running KeePass from a network folder?
Note that it worked with previous versions of KeePass.

avatar

David,

Have you already tried to run KeePass and the plugin from a mapped network folder?
Please try and see for yourself that this is not working.

Thanks,
Roland

avatar

Hi,
This is a limitation in KeePass I think. The application must be unable to load it. I'm not sure I can do something for that.

David Hervieux

avatar

I have the same problem running KeePass from a network folder. Is there any solution for that?

avatar

I have enter a bug for that. We will have to verify if there is a solution but for now I have no workaround.

David Hervieux

avatar

Any update on this so far?

avatar

We don't have any solution for now.KeePass needs to be installed locally to load the RDM plugin

David Hervieux