Unhandled exception when uploading to DropBox

Discussions about Diving Log 6.0 - questions and hints
Post Reply
Kritta
Posts: 7
Joined: Sun Dec 04, 2011 05:15

Unhandled exception when uploading to DropBox

Post by Kritta »

I get an unhandled exception when attempting to upload my logfile to dropbox. The error says 'root element is missing'. I can export ( a few dives to) XML without problems.

I'm not too stressed about this... just thought you may like to know in case you want to sort it out.

- Andrew

Details:
************* Exception Text **************
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
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 Divinglog.Sync.Dropbox.CreateMetadataFile()
at Divinglog.Sync.Dropbox.BWorker_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Unhandled exception when uploading to DropBox

Post by divinglog »

Hi Andrew

Looks like the DivelogSync.xml file in the "Divelog" folder in your Dropbox is damaged. Try to move it out of the folder to your desktop and sync again. If it works, you can delete the damaged file.

Kind regards,
Sven
Post Reply