var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Sybase server returning error
We are facing a problem with a C++ problem that uses the underlying sybase C-APIs. The program returns this error when trying to insert a record in the database :
sy_execute_cmd: ct_send() failed
ct_send(): user api layer: external error: This routine cannot be called because another command structure has results pending.
The program repeatedly throws this error and it does not go away. The program has to be restarted for the error to go away.
ANy idea why the DB could thorw such an error ? I searched on the internet but could not find anything apart from some python related errors. We are running ASE version 12.5.2.
Will this error go away if we upgrade to ASE 15 ?
Thanks in advance for your replies.
if your sure that the application code is correct, I would look at the underlying t-sql, as it looks like your previous transaction is not being closed correctly. Is the transaction being 'commit'ed correctly?