vdDest_vdDragDrop - Index and length must refer to a location within the string

<< Click to Display Table of Contents >>

Navigation:  EnviroInsite > Frequently Asked Questions > Troubleshooting Error Messages >

vdDest_vdDragDrop - Index and length must refer to a location within the string

Symptoms: This error message may appear when dragging certain fields (<4 characters in length) from the Downhole / Point Data section onto a boring log in the Boring Log Template Design window.

 

vdDest_vdDragDrop

 

   Index and length must refer to a location within the string.

   Parameter name: length

   at System.String.Substring(Int32 startindex, Int32 length)

   at eiDocument.LogDesignForm.InsertDhDataField(String strField, Double x_, Double y_)

   at eiDocument.LogDesignForm.vdDest_vdDragDrop(Object o, DragEventArgs drgevent)

 

Cause/Details: A string parsing error.

 

Resolution/Workaround: Double-click on the field to add it to the boring log template.