You tried to commit or roll back a transaction without first using BeginTrans. (Error 3034)
You tried to
commit
or roll back a
transaction
that was not started with a
BeginTrans
statement.