Root Element Is Missing

pcmom

New member
My husband just saved a sequence when I plugged in a flash drive and it zapped the computer. After restarting, Vixen was corrupted and had to be reinstalled. Everything works EXCEPT the sequence he was working on. It comes up with the unhandled exception error specifically saying "Root element is missing."

Is there anyway to fix this and retrieve the sequence?


Here are the details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** 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 Vixen.EventSequence..ctor(String fileName)
at VixenEditor.StandardSequence.Open(String filePath)
at Vixen.Form1.OpenSequence(String fileName)
at Vixen.Form1.HistoryItemClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
Vixen
Assembly Version: 2.5.0.8
Win32 Version: 2.5.0.8
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/Vixen.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (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.5466 (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.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
fmod
Assembly Version: 2.0.3.0
Win32 Version: 2.0.3.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/fmod.DLL
----------------------------------------
AnalogSpectrum
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/AnalogSpectrum.DLL
----------------------------------------
CometConversion
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/CometConversion.DLL
----------------------------------------
DMXAddIn
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/DMXAddIn.DLL
----------------------------------------
EZ-8 Transfer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/EZ-8%20Transfer.DLL
----------------------------------------
EZ-8
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/EZ-8.DLL
----------------------------------------
MIDIReader
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/MIDIReader.DLL
----------------------------------------
Prop1SeqGen
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/Prop1SeqGen.DLL
----------------------------------------
Prop2SeqGen
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/Prop2SeqGen.DLL
----------------------------------------
RemoteClient
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/RemoteClient.DLL
----------------------------------------
RGBLEDAddIn
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/RGBLEDAddIn.DLL
----------------------------------------
Spectrum
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/Spectrum.DLL
----------------------------------------
WattMeter
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/WattMeter.DLL
----------------------------------------
Waveform
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/AddIns/Waveform.DLL
----------------------------------------
LedTriksUI
Assembly Version: 2.5.0.2
Win32 Version: 2.5.0.2
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/Plugins/UI/LedTriksUI.DLL
----------------------------------------
LedTriksUtil
Assembly Version: 2.5.0.5
Win32 Version: 2.5.0.5
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/Plugins/Output/LedTriksUtil.DLL
----------------------------------------
StandardScript
Assembly Version: 2.5.0.6
Win32 Version: 2.5.0.6
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/Plugins/UI/StandardScript.DLL
----------------------------------------
ScriptEngine
Assembly Version: 2.5.0.6
Win32 Version: 2.5.0.6
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/ScriptEngine.DLL
----------------------------------------
StandardSequence
Assembly Version: 2.5.0.8
Win32 Version: 2.5.0.8
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/Plugins/UI/StandardSequence.DLL
----------------------------------------
TriggerResponse
Assembly Version: 2.5.0.2
Win32 Version: 2.5.0.2
CodeBase: file:///C:/Users/Michelle/Desktop/Vixen%202.5.0.8/Vixen%202.5.0.8/Plugins/UI/TriggerResponse.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Sounds like it might be corrupt, upload the sequence and profile if you want and I'll take a look.

If the sequence file's root XML element is truly missing, data loss on that sequence could be likely. :(
 
Sounds like it might be corrupt, upload the sequence and profile if you want and I'll take a look.

If the sequence file's root XML element is truly missing, data loss on that sequence could be likely. :(

Thanks for the offer, we ended up just starting over. Lost a couple hours of work :-(
 
Thanks for the offer, we ended up just starting over. Lost a couple hours of work :-(

Ouch

I lost a few days worth of sequencing a couple years back after a hard drive failed, it can definitely be a pain when it happens.
 
I've had this happen to a few of my sequences. I was using my main computer which has plenty of power and the show computer which is a win xp laptop.

On the older computer I noticed that sometimes vixen needs to save what changes were made in some of the settings screens. If I don't wait for the spinny wheel to finish at these points it will be missing data.

I've corrupted my profile on the show computer more times than I care to count.
 
Is there a way to save a corrupt sequence?

What sequencing software (and version) are you using?

Depends what caused the corruption - an OS / disk related issue probably isn't salvageable, but something more benign (like the v2.1 profile channel remove bug) might be fixable by hand.

Any specific error message you see?

A 'root element missing' error for example would be a sign the file got truncated, you can open the sequence in notepad to determine if this is the case.
If the file is indeed blank you might try file recovery software, but chances are pretty slim at that point.

Vixen 2.x sequences with the 'index outside of bounds etc etc' type messages are often fixable however.

I work with the guts of Vixen 2.1 sequences often as part of my workflow, if you're on v2.1 post the sequence here and I can take a look if you want (and the profile too if applicable).
 
Back
Top