Hello all!

So, I rebooted my server today and had a few Root Elements missing. I have done no changes and this seems to be an odd crash since nothing has been changed in a few weeks. Here are the errors. It seems to be in Accounts.xml

Error:
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Server.Accounting.Accounts.Load()
at Server.WorldLoadEventHandler.Invoke()
at Server.EventSink.InvokeWorldLoad()
at Server.World.Load()
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
Post automatically merged:

Add to above:

So I tried to compile and run the server again and now have this message

Caught Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Core.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e)
This exception is fatal, press return to exit
Post automatically merged:

FIXED and SOLVED.

Somehow something was corrupted and I just took a backup save and it corrected everything
 
Last edited:
Back