Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » Error Messages » SQL Anywhere error messages » SQL Anywhere error messages sorted by message text (A-C)

 

Cannot commit or rollback while enlisted in a transaction

Error constant SQLE_CANNOT_COMMIT_OR_ROLLBACK_WHILE_ENLISTED
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –800
SQLSTATE 55W09
Sybase error code 13810
Probable cause

You tried to explicitly commit or rollback on a connection that is enlisted in a transaction. You must use the Commit/Abort protocol of the transaction instead.