Early this morning, as I was loading Pandy's up there was a power fluctuation that shut my computer down. Now, whenever I try to load it, I get this.
Code:
************** Exception Text **************
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 TheBox.Options.ButtonIndex.Load()
   at TheBox.Options.Profile.get_ButtonIndex()
   at TheBox.Pandora.LocalizeControl(Control control)
   at TheBox.Pandora.LocalizeControl(Control control)
   at TheBox.Box.Box_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Pandora
    Assembly Version: 3.0.0.5
    Win32 Version: 3.0.0.5
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/Pandora.exe
----------------------------------------
MapViewer
    Assembly Version: 3.0.0.3
    Win32 Version: 3.0.0.3
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/MapViewer.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ArtViewer
    Assembly Version: 3.0.0.1
    Win32 Version: 3.0.0.1
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/ArtViewer.DLL
----------------------------------------
BoxCL
    Assembly Version: 3.0.0.3
    Win32 Version: 3.0.0.3
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/BoxCL.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
ej6fyy7u
    Assembly Version: 3.0.0.5
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ErrMsgBox
    Assembly Version: 3.0.0.3
    Win32 Version: 3.0.0.3
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/ErrMsgBox.DLL
----------------------------------------
English
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/Lang/English.dll
----------------------------------------
6ietl-ju
    Assembly Version: 3.0.0.3
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Data
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/Data/Data.DLL
----------------------------------------
imabt-z_
    Assembly Version: 3.0.0.5
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DefaultButtons
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/PandorasBox%203.0.0.5/Data/DefaultButtons.dll
----------------------------------------
xwtavcz8
  Assembly Version: 3.0.0.5
  Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
  CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
I've even tried a System Restore back a week & still get the same thing. Google has all sorts of posts concerning the
System.Xml.XmlException: Root element is missing.
part of it, but for different programs & such. Tried adding in Pandora's Box 3.0.0.5 & it sort of looked at me like I was an idiot. Nothing concerning Pandy's at all. I even checked a saved copy of it to compare & nothing was missing, so it must be my computer or something. But with system restore it should have fixed that (I thought). Any ideas?
 
Last edited:
It looks like an xml file in the program has either saved incorrectly or become corrupt. Is there any xml files in the pandoras box directory? I do not have it installed here to check.

It might be in your appdata folder too rather than the install directory.
 
Yeah, theres 6 xml's in AppData & 1 is showing 159 bytes & modified about the time the power went poof. Looks like I get to reinstall it.. I'm SO excited by that.. *sigh*
 
Fortunately, "reinstalling" Pandys is simple for the most part. Just delete the folder in AppData & reload it.. then it just a matter of doing a new profile & setting up the maps. It is now back in full working order. :)
This is literally ALL thats in that 1 xml.. called bdi
Code:
<?xml version="1.0"?>
-<table>
<data index="0" id="34"/>
<data index="0" id="30"/>
<data index="0" id="9"/>
<data index="0" id="46"/>
</table>
 
It looks like the problem would have been the - in the node table. Glad you got it working though :)
 
Back