Can't run program: Unexpected Error

Can't run program: Unexpected Error

avatar

This just started happening today. I've completely uninstalled and re-installed the application 3 times :( I'm not exactly sure what XML document it would be referring to since I used the SQL Data Source.



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

Hi,

It seems that your config file is corrupted. Could you try to rename the file remotedesktopmanager.cfg to anything else? This file is located in %LocalAppData%\Devolutions\RemoteDesktopManager

Regards

David Hervieux

avatar

That fixed it! Thank you!

avatar

This should not happen anymore in the next version.

David Hervieux