You tried to commit or roll back a transaction without first using BeginTrans. (Error 3034)

See Also

You tried to commit or roll back a transaction that was not started with a BeginTrans statement.