Cannot deregister '%1' since active registered connection exists

Item Value
SQLCODE -786
Constant SQLE_DEREG_APP_IN_USE
SQLSTATE 5RW25
Sybase error code 13796
ODBC 2 State 42000
ODBC 3 State 42S02
Parameter 1 Name of the application

Probable cause 

You attempted to deregister an application while there are still active connection registered to that application.