YourDiveBook sync error

Discussions about Diving Log 6.0 - questions and hints
Post Reply
lloyd_borrett
Posts: 228
Joined: Sun Jun 11, 2006 09:24
Location: Frankston South, Victoria, Australia
Contact:

YourDiveBook sync error

Post by lloyd_borrett »

G'day Sven,

I got the following error message when try to upload to YourDiveBook.

Code: Select all

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at Divinglog.frmWeb.ErrorOccurred(String Result)
   at Divinglog.Sync.WebAPI.EventErrorOccurred(String Result)
   at Divinglog.Sync.YourDiveBook.BWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Divelog
    Assembly Version: 5.0.10.0
    Win32 Version: 5.0.10.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Diving%20Log%205.0/Divelog.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
The first 123 dives imported okay. Then I got a different error on on dive 124. Thus was the first dive where I didn't have a dive site specified. So I created an 'unknown' dive site and put that it for all of the ones that had no dive site and tried again.

That's when I got the above error message. I now have 139 dives imported okay. Not sure what the problem is with dive number 140.

Maybe it's just that YourDiveLog needs to be more forgiving of the input data, or maybe there is a serious issue somewhere.

Best regards, Lloyd Borrett.
divinglog
Site Admin
Posts: 5783
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: YourDiveBook sync error

Post by divinglog »

G'day Lloyd

I don't know how actively YourDiveBook is still developed, so it is likely that there will be issues. The server was down for a long time a few weeks ago. Right now the only real progress seems to happen on divelogs.de and diveboard.com.

Kind regards,
Sven
Post Reply