Method '%1' cannot be called at this time

Item Value
SQLCODE -669
Constant SQLE_METHOD_CANNOT_BE_CALLED
SQLSTATE WJ001
Sybase error code 13711
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The name of the method

Probable cause 

The method cannot be called at this time. Check that the method is not being called out of order.