KeeAnywhere icon indicating copy to clipboard operation
KeeAnywhere copied to clipboard

KeeAnywhere 2.0.3 incompatible with KeePass 2.48.1

Open Nepomuk3000 opened this issue 3 years ago • 16 comments

After an upgrade of KeePass (2.48.1) and KeeAnywhere (2.0.3). At start, KeePass says :

The following plugin is incompatible with the current KeePass version:

C:\Program Files\KeePass Password Safe 2\Plugins\KeeAnywhere-2.0.3,plgx

Have a look at the plugin's website for an appropriate version. L'opération n'est pas valide en raison de l'état actuel de l'objet. KeePass à KeePass.Plugins.PlgxPlugin.Compile(String strTmpRoot, PlgxPluginInfo plgx, String strBuildPre, String strBuildPost) à KeePass.Plugins.PlgxPlugin.ReadFile(BinaryReader br, PlgxPluginInfo pigx, IStatusLogger slStatus) à KeePass.Plugins.PlgxPlugin.LoadPriv(String strFilePath, \StatusLogger slStatus, Boolean bAllowCached, Boolean bAllowCompile, Boolean bAllowLoad, TextWriter twLog) à KeePass.Plugins.PlgxPlugin.Load(String strFilePath, IStatusLogger slStatus) System.String Compile(System.String, KeePass.Plugins.PlgxPlugininfo, System.String, System.String)

Nepomuk3000 avatar Jun 01 '21 15:06 Nepomuk3000

hmm, that's strange. 2 48.1 is the only tested version from my side. Have you recently upgraded to this KeePass version and has KeeAnywhere already worked before on the same machine?

Nepomuk3000 @.***> schrieb am Di., 1. Juni 2021, 17:28:

After an upgrade of KeePass (2.48.1) and KeeAnywhere (2.0.3). At start, KeePass says :

The following plugin is incompatible with the current KeePass version:

C:\Program Files\KeePass Password Safe 2\Plugins\KeeAnywhere-2.0.3,plgx

Have a look at the plugin's website for an appropriate version. L'opération n'est pas valide en raison de l'état actuel de l'objet. KeePass à KeePass.Plugins.PlgxPlugin.Compile(String strTmpRoot, PlgxPluginInfo plgx, String strBuildPre, String strBuildPost) à KeePass.Plugins.PlgxPlugin.ReadFile(BinaryReader br, PlgxPluginInfo pigx, IStatusLogger slStatus) à KeePass.Plugins.PlgxPlugin.LoadPriv(String strFilePath, \StatusLogger slStatus, Boolean bAllowCached, Boolean bAllowCompile, Boolean bAllowLoad, TextWriter twLog) à KeePass.Plugins.PlgxPlugin.Load(String strFilePath, IStatusLogger slStatus) System.String Compile(System.String, KeePass.Plugins.PlgxPlugininfo, System.String, System.String)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kyrodan/KeeAnywhere/issues/297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWW2QGLHUJRZHPS2OVBV3TQT4CDANCNFSM4545GNPA .

Kyrodan avatar Jun 01 '21 18:06 Kyrodan

I have the same issue. I'm on KeeAnywhere 1.6 and everything works fine. image

crakerjac avatar Jun 01 '21 20:06 crakerjac

It works when saving to google drive.

thamesvalley avatar Jun 06 '21 14:06 thamesvalley

FIXED for me: Had this error also (details below).

The fix for me was deleting the "KeeAnywhereOfflineCache" folder and "KeeAnywhere.Accounts.json" file from C:\Users%username%\AppData\Roaming\KeePass and the KeeAnywehere plugin form the plugins directory, then opening KeePass, going to the plugins options, clearing the plugins cache, then reinstalling the KeeAnywhere 2.0.3 plugin.

How I got the error message: I was running KP 2.45 and KeeAnywhere 1.6. Upgraded KP to 1.48 and KeeAnywhere wouldn't load. Installed KeeAnywhere 2.0.3 and got the "The following plugin is incompatible with the current KeePass version" error.

All fixed now though. :)

johnrperfect avatar Jun 12 '21 23:06 johnrperfect

Thank you for your comment. I've just tried what you mentioned but it always fails. Successfully switched to google drive.

thamesvalley avatar Jun 13 '21 11:06 thamesvalley

Hi, I have the same Issue than @Nepomuk3000

I have downloaded the last version of the plugin and copied it into the plugins folder but when I start kee pass I keep getting this message (see attached image for full dettails) "The Following plugin is not compatible with the current KeePass version: C:Programmi_Personali\KeePass2\Plugins\KeeAnywhere-2.0.3.plgx"

If anyone could give a link to download KeeAnywhere plugin version: 1.6 I will try if it's working for me as indicated by @crakerjac

Current configuration

KeePass version: Portable (2.48.1) KeeAnywhere plugin version: 2.0.3 KeeAnywhereError KeeAnywhereError

manugap avatar Jun 30 '21 13:06 manugap

Thank you for your comment. I've just tried what you mentioned but it always fails. Successfully switched to google drive.

Hi @thamesvalley Could you please explain what do you mean by "Successfully switched to google drive."?

you mean you are using a different plugin now? could you tell me which one?

thank you!

manugap avatar Jun 30 '21 15:06 manugap

I mean that before I was connected to Dropbox, then I disconnected Dropbox and connected to Google drive. I use the plugin 2.03. I tried to downgrade and that was unsuccessfull.

thamesvalley avatar Jun 30 '21 15:06 thamesvalley

Hi all,

So the location of the plugin cache store is : C:\Users%username%\AppData\Local\KeePass\PluginCache

In addition, when this problem occurs, the KeeAnywhere.dll is missing on the cache folder. When tried to copy/paste from another working PC. It won't accept.

So my guess is, when the compiling operation, the extraction of KeeAnywhere.dll fails and you may got this incompatible error. It's nothing to do with Google Drive or DropBox.

Regards,

lequarti avatar Jul 21 '21 07:07 lequarti

@lequarti is right: it has nothing to do with a concrete provider. It seems, the PLGX could not be compiled on the machine. Please double check KeeAnywheres system requirements expecially regarding .NET-Framework version.

You could also try to use DLL-Distribution (which mostly lead to other problems)

Kyrodan avatar Jul 21 '21 07:07 Kyrodan

@Kyrodan, indeed DLL-Distribution could be a take-over, but in some professional environment, it could be tricky. That's the reason of the success of portable version within PLGX.

For sure, it's related to .NET-Framework version, the way the error is reported confuses users. Anyhow, meeting with the requirements works.

lequarti avatar Jul 21 '21 21:07 lequarti

Hello there,

Here is my conclusion, do this following actions: dir %windir%\Microsoft.NET\Framework /AD cd %windir%\Microsoft.NET\Framework\v4.0.30319 .\MSBuild.exe -version

Any version above 4.7 will work.

https://dotnet.microsoft.com/download/dotnet-framework

My guess is that 4.6.1 is not enough.

Best,

lequarti avatar Jul 27 '21 07:07 lequarti

Hi,

I'm seeing similar issues on the next version of Keepass.

  • Keepass 2.49
  • Keeanywhere-2.0.3.plgx
  • Windows 10

image

Here's what I see related to the .NET installations: C:\Users\jfriel\Downloads>dir %windir%\microsoft.net\framework /AD Directory of C:\Windows\microsoft.net\framework

04/22/2019 10:28 AM <DIR> . 04/22/2019 10:28 AM <DIR> .. 03/18/2017 05:03 PM <DIR> v1.0.3705 03/18/2017 05:03 PM <DIR> v1.1.4322 04/22/2019 10:28 AM <DIR> v2.0.50727 04/22/2019 10:28 AM <DIR> v3.0 04/22/2019 10:28 AM <DIR> v3.5 09/17/2021 01:23 PM <DIR> v4.0.30319 0 File(s) 0 bytes

C:\Windows\Microsoft.NET\Framework\v4.0.30319>MSBuild -version Microsoft (R) Build Engine version 4.7.2046.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved.

4.7.2046.0 `

It seems I have all of the prereqs (n.b. the github site does not reflect the .NET requirements anywhere) yet I am experiencing the same problem.

Fortunately, Keeanywhere-1.6.0 still works fine so I was able to revert.

Any thoughts? I'm satisfied with v1.6 so not particularly concerned. Thanks.

jimmyswimmy avatar Sep 17 '21 17:09 jimmyswimmy

got the same issue. i've launched keepass in debug mode, and get this error from csc.exe (c# compiler) :

error CS0006: Le fichier de métadonnées 'System.Security.dll' est introuvable

(in english : file System.Security.dll, in directory C:\Windows\Microsoft.NET\Framework64\v4.0.30319, is not found)

I've installed nearly all sdk/runtime of .Net, including V6, V5, V4.8, V4.7, V4.6, V4.5, V3.1, Core, x86, x64, but NONE of them can install System.Security.dll but curiously, on my other pc (for c# development) I've already this file installed (maybe with Visual Studio) i don't understand why this file is missing on stantard install, and how to install it easily.

if another person got the answer to this problem, please share !

jack3dfr avatar Nov 14 '21 16:11 jack3dfr

I had such a problem. I installed the latest version .NET. Update .NET helped. Currently v.4.8. https://dotnet.microsoft.com/en-us/download/dotnet-framework

AlexeySa avatar Jun 24 '22 14:06 AlexeySa

From my recent experience with KeePass 2.55 on Windows 11, it requires that KeePass is started with 'Admin' or 'root' privileges when initializing the plugin for the first time. My guess is it's because it needs access to the system's secure credentials storage. Once you have the credentials of your cloud provider authenticated and saved, you can start KeePass normally.

cacophobe avatar Dec 21 '23 14:12 cacophobe