Cannot register connection because of invalid application cookie

Error constant SQLE_CANNOT_REG_CONN
ODBC 2 state 42000
ODBC 3 state 42S02
Severity 16
SQLCODE -784
SQLSTATE 5RW23
Sybase error code 13794
 Probable cause