The selected database is currently inactive

Item Value
SQLCODE -74
Constant SQLE_DATABASE_NOT_ACTIVE
SQLSTATE 08W30
Sybase error code 950
ODBC 2 State 08001
ODBC 3 State 08001

Probable cause 

The selected database is in an inactive state. The database may be in the process of being started or of being shut down.