1026   Not in transaction state

Cause

This error occurs if your application code attempts to end transaction state for a database that is not in transaction state.

Action

Correct your application code so that it does not attempt to end a transaction state for a database that is not in transaction state. For more details, see the Process class isInTransactionState method.