Cannot deregister application because of invalid cookie

Error constant SQLE_DEREG_APP_NOT_FOUND
ODBC 2 state 42000
ODBC 3 state 42S02
Severity 16
SQLCODE -785
SQLSTATE 5RW24
Sybase error code 13795
 Probable cause