Cannot convert %1 to a %2

Error constant SQLE_CONVERSION_ERROR
ODBC 2 state 07006
ODBC 3 state 07006
Parameter 1 The value that could not be converted.
Parameter 2 The name of the type for the conversion.
Severity 16
SQLCODE -157
SQLSTATE 53018
Sybase error code 257
 Probable cause