This documentation is archived and is not being maintained.

Cast from string "<string>" to type '<typename>' is not valid

An attempt to convert a string variable to another type is not valid.

To correct this error

  • Check the types involved in the conversion and make sure you are attempting to convert to a meaningful type.

Show: