Exception error on fat client during database load. Win XP S

Help each other out

Exception error on fat client during database load. Win XP S

Postby Jay on Sun Jun 10, 2007 10:17 pm

XL is Aug. or Sept. 06 rel.
Error below. Steps taken, Deleted XL folder and restored with backup. Runs once then gets the error again. DL'd .NET 3 as it has .NET 2 enhancements. No joy. Did Not kill and re-install .NET 2.
TIA!

************** Exception Text **************
System.Xml.XmlException: Data at the root level is invalid. Line 197, position 12.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at xlobby2.CategoryObject.RootFromXML(String file, String name, Control control)
at xlobby2.Control.LoadDatabasesFrom(String dir)
at xlobby2.Control.LoadDatabases()
at xlobby2.Control.LoadAll()
at xlobby2.GdiScreenForm.GdiScreenForm_Shown(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
xlobby2
Assembly Version: 1.0.2423.37754
Win32 Version: 1.0.2423.37754
CodeBase: file:///C:/Program%20Files/xlobby/xlobby2.exe
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
XPluginSDK
Assembly Version: 1.0.2407.36634
Win32 Version: 1.0.2407.36634
CodeBase: file:///C:/Program%20Files/xlobby/XPluginSDK.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
CDEX
Assembly Version: 1.0.1685.4787
Win32 Version: 1.0.1685.4787
CodeBase: file:///C:/Program%20Files/xlobby/plugins/CDEX.dll
----------------------------------------
XAnt
Assembly Version: 1.0.1715.38065
Win32 Version: 1.0.1715.38065
CodeBase: file:///C:/Program%20Files/xlobby/plugins/XAnt.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
XClock
Assembly Version: 1.0.1852.33029
Win32 Version: 1.0.1852.33029
CodeBase: file:///C:/Program%20Files/xlobby/plugins/XClock.dll
----------------------------------------
xusbuirt
Assembly Version: 1.0.1767.29466
Win32 Version: 1.0.1767.29466
CodeBase: file:///C:/Program%20Files/xlobby/plugins/xusbuirt.dll
----------------------------------------
xAP-Xlobby
Assembly Version: 1.0.2160.17757
Win32 Version: 1.0.2160.17757
CodeBase: file:///C:/Program%20Files/xlobby/plugins/xAP-Xlobby/xAP-Xlobby.dll
----------------------------------------
xAPTransport
Assembly Version: 1.2.9.2
Win32 Version: 1.2.9.2
CodeBase: file:///C:/Program%20Files/xlobby/xAPTransport.DLL
----------------------------------------
KCS.Utilities
Assembly Version: 1.1.2.1
Win32 Version: 1.1.2.1
CodeBase: file:///C:/Program%20Files/xlobby/KCS.Utilities.DLL
----------------------------------------
xAPMessage
Assembly Version: 1.2.9.12
Win32 Version: 1.2.9.12
CodeBase: file:///C:/Program%20Files/xlobby/xAPMessage.DLL
----------------------------------------
XGetPhotos
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/xlobby/plugins/XGetPhotos/XGetPhotos.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
xSeer
Assembly Version: 0.1.0.100
Win32 Version: 0.1.0.100
CodeBase: file:///C:/Program%20Files/xlobby/plugins/xSeer/xSeer.dll
----------------------------------------
HomeSeer2
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Program%20Files/xlobby/HomeSeer2.DLL
----------------------------------------
Scheduler
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Program%20Files/xlobby/Scheduler.DLL
----------------------------------------
HS2Util
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/xlobby/HS2Util.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.210 (QFE.050727-2100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
XWeather
Assembly Version: 1.0.2686.19750
Win32 Version: 1.0.2686.19750
CodeBase: file:///C:/Program%20Files/xlobby/plugins/xweather/XWeather.dll
----------------------------------------
Interop.Shell32
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/xlobby/Interop.Shell32.DLL
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: Exception error on fat client during database load. Win XP S

Postby Jay on Sun Jun 10, 2007 10:42 pm

I just copied the backup to another machine with the same result.

I had copied some files from the server to the fat client. The server runs Vista. The problem with the 1st fat client occured after I had copied over a new screen and 2 >skins>eventgroups>Homeseer (xseer) .xmls from the server.

xml is xml, right?

I had made a backup of the fat client right after I copied the files over. When I saw the error, I killed the XP's backup assuming the prob was included and replaced it with the server folder, and adjusting the paths and zones to where they should be for a client.

Could this be the issh? Vista?
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: Exception error on fat client during database load. Win XP S

Postby P3rv3rt B3ar on Mon Jun 11, 2007 10:07 am

Jay wrote:System.Xml.XmlException: Data at the root level is invalid. Line 197, position 12.


As it says there u have problem with one of your database xml files. Use XML-validator to figure out the corrupted file and remove and recreate it.

EDIT: If the first run work ok... sounds almost like something on your skins/plugins access the database directly and corrupts it :shock:

* Checks quickly thats xPerT is not on the list * piuuhhhhhh relieved. :wink:
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Exception error on fat client during database load. Win XP S

Postby Jay on Mon Jun 11, 2007 10:59 am

Thanks Marbles. I'll find a validator. I thought at 1st it was a NET 2 error. But when it happened on a 2nd machine...
The 2nd client never came up the 1st time.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: Exception error on fat client during database load. Win XP S

Postby Jay on Mon Jun 11, 2007 11:27 am

Found it. All fixed. Thanks for putting me on the right track Marbles.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: Exception error on fat client during database load. Win XP S

Postby P3rv3rt B3ar on Mon Jun 11, 2007 12:15 pm

Jay wrote:Thanks Marbles. I'll find a validator.


Jay wrote:Thanks for putting me on the right track Marbles.


Ok, now i finally realise why i have such bad bear rep here... :D
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Exception error on fat client during database load. Win XP S

Postby dalanik on Mon Jun 11, 2007 1:20 pm

P3rv3rt B3ar wrote:
Jay wrote:Thanks Marbles. I'll find a validator.


Jay wrote:Thanks for putting me on the right track Marbles.


Ok, now i finally realise why i have such bad bear rep here... :D


Sure you do, you behave as a Serb, not Finn :-) You know that in Serbian the hardest words are "hvala" and "molim" :-)
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Re: Exception error on fat client during database load. Win XP S

Postby Jay on Mon Jun 11, 2007 1:47 pm

The prob was not reconfiguring XGetPhotos when server changed.
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: Exception error on fat client during database load. Win XP S

Postby P3rv3rt B3ar on Mon Jun 11, 2007 1:58 pm

dalanik wrote:Sure you do, you behave as a Serb, not Finn :-) You know that in Serbian the hardest words are "hvala" and "molim" :-)


Dobro jutro gospodine Lanic. Yeah im more Serb than most serbians. Kosovo Srpska zemlja!!!

Those two words actually are on my 200 word serbian vocabulary, but u must be right, cause i always pronounce it "vhala" instead of "hvala" :oops:

however "jebo te!" is easy even finn cant err :)
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Exception error on fat client during database load. Win XP S

Postby Jay on Mon Jun 11, 2007 2:00 pm

Hijackers :? :lol:
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US

Re: Exception error on fat client during database load. Win XP S

Postby P3rv3rt B3ar on Mon Jun 11, 2007 2:09 pm

Jay wrote:Hijackers :? :lol:


Problem solved, so its free for whoring now on 8)
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: Exception error on fat client during database load. Win XP S

Postby Jay on Mon Jun 11, 2007 2:39 pm

whore away :D
Jay
 
Posts: 869
Joined: Thu Oct 13, 2005 6:28 pm
Location: Kiawah Island, SC US