Startup issue - Error in xml Document

Startup issue - Error in xml Document

avatar

InvalidOperationException - Fehler im XML-Dokument (0,0).

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

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

bei Devolutions.RemoteDesktopManager.Managers.SerializationManager.LoadObjectFromFile(String aFileName, Type aType, Boolean aCreateAnInstanceIfNotExists)

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

bei Devolutions.RemoteDesktopManager.Program.Main(String[] aArgs)

Since now the rdm worked perfectly -- since a reboot this day i can't open the rdm any longer.

The system says it can't parse a certain xml File --- Anyone knows which file it is or what to do ?

Regards

loomax

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

XmlException - Das Stammelement ist nicht vorhanden.

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

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

bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()

bei System.Xml.XmlTextReaderImpl.Read()

bei System.Xml.XmlTextReader.Read()

bei System.Xml.XmlReader.MoveToContent()

bei Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderOption.Read56_Option()

All Comments (4)

avatar

Hi,

I don't what exactly happened, but this error is related to a corrupted config file (the file remotedesktopmanager.cfg) in the installation folder. Just delete this file and RDM will recreate a new one. You will have to configure it again unfortunately. I will try to find what can corrupt this file and let you know.

David Hervieux

Devolutions inc.

David Hervieux

avatar

somehow the file got corrupted - i only see Null characters when opening it. Maybe it would be a good idea to implement the creation of a backup while starting the program whenever the file is parseable. If not the program could use the backup for starting.

avatar

by the way -- i could restart the program after deleting the cfg File

avatar

Hi,

After I answered you, I already added to my todo list a config backup :)

Thank you

David Hervieux

Devolutions inc.

David Hervieux