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

<< Click to Display Table of Contents >>

EQuIS 7  >>  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 EI 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 your 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. If you insist on using a numeric value, then 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.