Windowd 10_X64 latest netframework.
At app lauch I get this message :
System.Exception: Error loading file C:\Users\slick\AppData\Roaming\MaxLauncher\app.cfg. ---> System.Exception: Error loading file C:\Users\slick\AppData\Roaming\MaxLauncher\app.cfg. ---> System.InvalidOperationException: Il existe une erreur dans le document XML (0, 0). ---> System.Xml.XmlException: Élément racine manquant.
à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.ParseDocumentContent()
à System.Xml.XmlReader.MoveToContent()
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAppConfig.Read4_AppConfig()
--- Fin de la trace de la pile d'exception interne ---
à System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
à System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
à MaxLauncher.ConfigManager.Load(String filePath, Object& obj)
--- Fin de la trace de la pile d'exception interne ---
à MaxLauncher.ConfigManager.Load(String filePath, Object& obj)
à MaxLauncher.ConfigManager.LoadAll()
--- Fin de la trace de la pile d'exception interne ---
à MaxLauncher.ConfigManager.LoadAll()
à MaxLauncher.Application.Application_Startup(Object sender, StartupEventArgs e)
What should I do ? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your C:\Users\slick\AppData\Roaming\MaxLauncher\app.cfg file was corrupted.
This seems to happen to one user every few years. :( It happens when a computer restarts after a Windows Update and MaxLauncher exits. I'm not sure why it happens but my guess is - it is because of the timing of the Windows restart and MaxLauncher shutdown after the update. Also if the update affects a .Net component.
INFO: app.cfg, contains Setting options, Data files, View, last file used, window location/size and defualt application Theme. Mostly, settngs that are set using the Menu.
Option 1:
Restore the app.cfg file from a backup.
Option 2:
Delete the file.
Start MaxLauncher
Configure the Settings/Options, Data files, View, last file used, window location/size and defualt application Theme. Mostly, settngs that are set using the Menu.
Option 3:
If the file is NOT EMPTY...
You can post it here or email it to me and I can try fixing it. If you don't feel comfortable sharing it, that is fine. You can try fixing it yourself. You need to be familiar with XML. The file is a text file so you can open it with Notepad. Usually, the problem is a missing an enclosing less than '<' or greater than '>' symbol.
Option 4:
If the file is EMPTY, then you can only choose Option 1 or 2.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Windowd 10_X64 latest netframework.
At app lauch I get this message :
System.Exception: Error loading file C:\Users\slick\AppData\Roaming\MaxLauncher\app.cfg. ---> System.Exception: Error loading file C:\Users\slick\AppData\Roaming\MaxLauncher\app.cfg. ---> System.InvalidOperationException: Il existe une erreur dans le document XML (0, 0). ---> System.Xml.XmlException: Élément racine manquant.
à System.Xml.XmlTextReaderImpl.Throw(Exception e)
à System.Xml.XmlTextReaderImpl.ParseDocumentContent()
à System.Xml.XmlReader.MoveToContent()
à Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAppConfig.Read4_AppConfig()
--- Fin de la trace de la pile d'exception interne ---
à System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
à System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
à MaxLauncher.ConfigManager.Load(String filePath, Object& obj)
--- Fin de la trace de la pile d'exception interne ---
à MaxLauncher.ConfigManager.Load(String filePath, Object& obj)
à MaxLauncher.ConfigManager.LoadAll()
--- Fin de la trace de la pile d'exception interne ---
à MaxLauncher.ConfigManager.LoadAll()
à MaxLauncher.Application.Application_Startup(Object sender, StartupEventArgs e)
What should I do ? Thanks.
Hi,
Reason for ERROR:
Your C:\Users\slick\AppData\Roaming\MaxLauncher\app.cfg file was corrupted.
This seems to happen to one user every few years. :( It happens when a computer restarts after a Windows Update and MaxLauncher exits. I'm not sure why it happens but my guess is - it is because of the timing of the Windows restart and MaxLauncher shutdown after the update. Also if the update affects a .Net component.
INFO: app.cfg, contains Setting options, Data files, View, last file used, window location/size and defualt application Theme. Mostly, settngs that are set using the Menu.
Option 1:
Option 2:
Option 3:
You can post it here or email it to me and I can try fixing it. If you don't feel comfortable sharing it, that is fine. You can try fixing it yourself. You need to be familiar with XML. The file is a text file so you can open it with Notepad. Usually, the problem is a missing an enclosing less than '<' or greater than '>' symbol.
Option 4: