Such an error has appeared these days to me in SQL using SPROC in another SPROC where these are using transactions:
Msg 266, Level 16, State 2, Procedure SPROC_NAME2, Line 0
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 2.
So what is that???
I will explain.
........ »