A string value cannot be cast to the target type because it contains characters not valid for that type.