Unable to Cast Object of Type 'System.Double' to Type 'System.String'

<< Click to Display Table of Contents >>

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

Unable to Cast Object of Type 'System.Double' to Type 'System.String'

This error message occurs when using an EnviroInsite database and not an EQuIS database.

 

This error occurs if a numeric value is entered in a column where EnviroInsite is expecting to see a non-numeric text string. Check the data file for numeric values in data fields that should contain non-numeric text strings. Typically this error occurs most frequently in the Well, Screen, Media, and Fraction fields. When using a numeric value, be sure to preface it with a single apostrophe, which Excel will interpret as indicating that the cell contents are to be treated like a text string.