Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009

    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.

  2. #2
    Join Date
    Mar 2006
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts