There is no way to join '%1' to '%2'

Error constant SQLE_CANNOT_JOIN
ODBC 2 state 37000
ODBC 3 state 42000
Parameter 1 Name of first table that cannot be joined.
Parameter 2 Name of second table that cannot be joined.
Severity 16
SQLCODE -146
SQLSTATE 53W04
Sybase error code 301
 Probable cause