XmlDeserializationException - There is an error in

XmlDeserializationException - There is an error in

avatar

A user is getting this error starting up RDM. He has not had any issues in the past. We are on 7.5.0.0

Unexpected error, contact your administrator

OS: Windows 7 Service Pack 1 32-bit

XmlDeserializationException - There is an error in XML document (0, 0).

at Devolutions.RemoteDesktopManager.Managers.SerializationManager.LoadObjectFromString(String str, Type type, Boolean createAnInstanceIfNotExists)

at Devolutions.RemoteDesktopManager.Managers.SerializationManager.LoadObjectFromFile(String fileName, Type type, Boolean createAnInstanceIfNotExists)

at Devolutions.RemoteDesktopManager.Managers.OptionManager.DoLoadOption()

at Devolutions.RemoteDesktopManager.Managers.OptionManager.LoadOptions()

at Devolutions.RemoteDesktopManager.Managers.ApplicationManager.InitializePhaseOne(String[] args, ApplicationDescriptor applicationDescriptor)

at Devolutions.RemoteDesktopManager.Program.Main(String[] args)

------------------------------------------

InvalidOperationException - There is an error in XML document (0, 0).

at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)

at Devolutions.RemoteDesktopManager.Managers.SerializationManager.LoadObjectFromString(String str, Type type, Boolean createAnInstanceIfNotExists)

------------------------------------------

XmlException - Root element is missing.

at System.Xml.XmlTextReaderImpl.Throw(Exception e)

at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)

at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

at System.Xml.XmlTextReaderImpl.Read()

at System.Xml.XmlTextReader.Read()

at System.Xml.XmlReader.MoveToContent()

at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOption.Read127_Option()============================

All Comments (3)

avatar

What data source are you using?

If using a shared data source, please confirm everyone is at the same client version

We can see that error happening when a client has been updated to a later version and has been used to edit an entry.

Maurice

avatar

Hi,

It seems that the file remotedesktopmanager.cfg in %LocalAppData%\Devolutions\RemoteDesktopManager is corrupted. Could you rename it to anything else. You might need to reconfigure the data source connection but your data won't be lost.

David Hervieux

avatar

We did this and it worked! Thanks!