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
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.