System.Xml.XmlException

Hello,

Kee+KeePass RPC does not seem to work anymore, the extension always have the “Off” incon.

Plus, when I open or create an entry in KeePass I have an error

System.Xml.XmlException: ‘.’, valeur hexadécimale 0x00, est un caractère non valide. Ligne 9, position 1.
à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
à System.Xml.XmlTextReaderImpl.ParseText()
à System.Xml.XmlTextReaderImpl.ParseElementContent()
à System.Configuration.XmlUtil.StrictReadToNextElement(ExceptionAction action)
à System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
à System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
à System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
à System.Configuration.BaseConfigurationRecord.InitConfigFromFile()


If I remove the KeePassRPC plugin from KeePass the error disappears, but of course the extension does not work.

I tried to clear KeePass configuration, or to create an empty KeePass database but this does not help.

KeePass version 2.59 KeePassRPC version 2.0.2

Can you help me ? Thanks. Benoît

************** Assemblys chargés **************

mscorlib
Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9323.0 built by: NET481REL1LAST_25H2_C
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

KeePass

Version de l’assembly : 2.59.0.0
Version Win32 : 2.59.0.0
CodeBase : file:///C:/Program%20Files/KeePass%20Password%20Safe%202/KeePass.exe

System

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9321.0 built by: NET481REL1LAST_25H2_B
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Core

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9319.0 built by: NET481REL1LAST_25H2_B
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Windows.Forms

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

mscorlib.resources

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9032.0 built by: NET481REL1
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll

System.Windows.Forms.resources

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9032.0 built by: NET481REL1
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll

Accessibility

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

KeePassRPC

Version de l’assembly : 2.0.2.0
Version Win32 : 2.0.2.0
CodeBase : file:///C:/Users/Ben/AppData/Local/KeePass/PluginCache/TdsPwS4sUkcJbkiYVuTM/KeePassRPC.dll

Fleck2

Version de l’assembly : 2.0.0.0
Version Win32 : 2.0.0.0
CodeBase : file:///C:/Users/Ben/AppData/Local/KeePass/PluginCache/TdsPwS4sUkcJbkiYVuTM/Fleck2.DLL

DomainPublicSuffix

Version de l’assembly : 2.0.1.0
Version Win32 : 2.0.1.0
CodeBase : file:///C:/Users/Ben/AppData/Local/KeePass/PluginCache/TdsPwS4sUkcJbkiYVuTM/DomainPublicSuffix.DLL

Jayrock

Version de l’assembly : 0.9.12915.0
Version Win32 : 0.9.11214.1056
CodeBase : file:///C:/Users/Ben/AppData/Local/KeePass/PluginCache/TdsPwS4sUkcJbkiYVuTM/Jayrock.DLL

System.Security

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

KeePass.XmlSerializers

Version de l’assembly : 2.59.0.0
Version Win32 : 2.59.0.0
CodeBase : file:///C:/Program%20Files/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.DLL

Jayrock.Json

Version de l’assembly : 0.9.12915.0
Version Win32 : 0.9.13422.2206
CodeBase : file:///C:/Users/Ben/AppData/Local/KeePass/PluginCache/TdsPwS4sUkcJbkiYVuTM/Jayrock.Json.DLL

System.Numerics

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.xml.resources

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9032.0 built by: NET481REL1
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Xml.resources.dll

System.Configuration.resources

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9032.0 built by: NET481REL1
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.resources/v4.0_4.0.0.0_fr_b03f5f7f11d50a3a/System.Configuration.resources.dll

System.Data

Version de l’assembly : 4.0.0.0
Version Win32 : 4.8.9221.0 built by: NET481REL1LAST_25H2
CodeBase : file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

Not confirmed here using the actual versions of Firefox and MS Edge.
Both browsers show the correct status for a connected KeePass database.


Windows 11 Home Version 25H2 (OS Build 26200.7019)
KeePass 2.60
KeePassRPC 2.0.2
Kee plugin Firefox 4.0.7
Kee plugin Edge 4.0.6

1 Like

Maybe your KeePass config XML file has become corrupt somehow? Can’t say there are “common” reasons for this but some ideas to look into might be any sync service that duplicates this file and may have a bug, file system or hardware failures like disk or memory corruption (more likely if you use a USB/portable disk to run KeePass from).

Look for backups of your config file and try those, or failing that do a fresh install of KeePass and use the default config file, then set up KeePassRPC again.