YourDiveBook sync error

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

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 **************
    Assembly Version:
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/Diving%20Log%205.0/Divelog.exe
    Assembly Version:
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/
    Assembly Version:
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.

Site Admin
Posts: 5164
Joined: Sat Feb 08, 2003 21:02
Location: Coburg

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 and

Kind regards,

Post Reply