Sync: Error loading data

Discussions about the smartphone versions
Post Reply
Corne
Posts: 4
Joined: Fri May 24, 2013 06:51

Sync: Error loading data

Post by Corne »

Hi!

I'm trying to sync my log with my Android phone. Whether I try to upload it directly to my phone or to dropbox or export to sql, it doesn't work.
Diving Log gives the next message:
Image

Anybody knows how to proceed?
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Sync: Error loading data

Post by divinglog »

Can you send me your logbook file to info (at) divinglog.de?
Corne
Posts: 4
Joined: Fri May 24, 2013 06:51

Re: Sync: Error loading data

Post by Corne »

Thanks. Funniest (?) thing happened: I wanted to make the file smaller before sending (it was 64 mB). I did that through the file-menu.
After that I opened the logbook that still is 62 mB and got the next message:
Image


Going further I can't see any dives. Error code below. I can send the file, but it's quite big...

Errorcode:


Zie het einde van dit bericht voor meer informatie over het aanroepen
van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster.

************** Tekst van uitzondering **************
System.InvalidCastException: De conversie van type DBNull naar type Integer is ongeldig.
bij Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
bij Divinglog.Logbook.Collections.GetPlaceList(String FromCity, Boolean OnlyLinked)
bij Divinglog.frmLogbook.LoadComboItems()
bij Divinglog.frmLogbook.frmLogbook_Load(Object sender, EventArgs e)
bij System.EventHandler.Invoke(Object sender, EventArgs e)
bij System.Windows.Forms.Form.OnLoad(EventArgs e)
bij System.Windows.Forms.Form.OnCreateControl()
bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
bij System.Windows.Forms.Control.CreateControl()
bij System.Windows.Forms.Control.WmShowWindow(Message& m)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bij System.Windows.Forms.ContainerControl.WndProc(Message& m)
bij System.Windows.Forms.Form.WmShowWindow(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Sync: Error loading data

Post by divinglog »

Try to put it inside a zip file, that should reduce the file size a bit. Do you have Dropbox or SkyDrive where you can put the file? Does everything worked before? It seems that something is wrong with the logbook file.
Corne
Posts: 4
Joined: Fri May 24, 2013 06:51

Re: Sync: Error loading data

Post by Corne »

I put it in a zip-file and the size was reduced not a bit, but enormous: from 64 to 5. Strange.
I just sent it to you.
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Sync: Error loading data

Post by divinglog »

Thanks, I'll have a look at it tomorrow!
Corne
Posts: 4
Joined: Fri May 24, 2013 06:51

Re: Sync: Error loading data

Post by Corne »

Problem solved, thanks to Sven!
Great work!
Post Reply