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

Application registration cannot be found for the given cookie.