The code has a type conversion or coercion that cannot be performed. This indicates that the data in the original data type does not have an obvious analogue in the target conversion type.
To correct this error
-
Make sure that the data provided is compatible with the data type that is converted or the data type to which it is coerced.
See Also
Concepts
Type Conversion
Coercion in JScript