Error help

May 30, 2015 at 6:48 PM
I get this error on launching the app each time Grateful for any help.

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

************** Exception Text **************
System.InvalidOperationException: There is an error in XML document (4, 17). ---> System.Xml.XmlException: Data at the root level is invalid. Line 4, position 17.
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.ReadEndElement()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read1_ArrayOfString()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at WDTVHubGen.Util.Utilities.Deserialize(List`1 list, String fileName) in c:\Users\Jeff\Dropbox\WDTVHubGen\WDTVHubGen\WDTVHubGen.Util\Utilities.cs:line 45
at WDTVHubGen.frmMainForm.frmMainForm_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.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

WDTVHubGen
Assembly Version: 2.3.1.1
Win32 Version: 2.3.1.1

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/WDTVHubGen.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34250 built by: FX452RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/log4net.DLL

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

WDTVHubGen.Base
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/WDTVHubGen.Base.DLL

TvdbLib
Assembly Version: 0.8.8.0
Win32 Version: 0.8.0.0

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/TvdbLib.DLL

DevComponents.DotNetBar2
Assembly Version: 7.4.0.4
Win32 Version: 7.4.0.4

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/DevComponents.DotNetBar2.DLL

ObjectListView
Assembly Version: 2.5.1.36516
Win32 Version: 2.5.1.0

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/ObjectListView.DLL

PropertyGridEx
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/PropertyGridEx.DLL

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

WDTVHubGen.Util
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/WDTVHubGen.v.2.3.1.1/WDTVHubGen.Util.DLL

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.
Jul 18, 2015 at 9:25 PM
Hi,

I got this same problem a couple of days ago and to this point have been unable to solve it using the current version of WDTVhubgen.
It's a fabulous program with good free support so hopefully when the author has time he may look into it for us.

In the meantime I did find a workaround. If you go to other downloads and grab the previous version (and unzip into a totally new directory) it seems to work.

Hopefully (if you havent already solved it) this may help you out too.

Thanks
Coordinator
Jul 20, 2015 at 11:16 PM
this error means that the config file (not sure which one, it isn't referenced, has an error on line 4, character 17. seems to be a badly formed path. check those files (.xml files) and open them in notepad. and see what might be the challenge.
Aug 19, 2016 at 9:02 AM
Apologies a little late, I have this and solved it.
Inside the Directorieslist.xml are the hand drop downs to of your file locations (in my case a folder for TV and folder for Movies.
For some reason this had got corrupted, see below the <string> line, the bottom one is the working version.
Quick fix...

<?xml version="1.0"?>
<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<string>C:\Users\bart\TV</string>
</ArrayOfString>ing>art\Movies</string>
</ArrayOfString>

<?xml version="1.0"?>
<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<string>C:\Users\bart\TV</string>
<string>C:\Users\bart\Movies</string>
</ArrayOfString>