I am getting the error from the application as following with SQL server 2005
\"Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK
The system function @@TRANCOUNT will return how many transactions you are currently in. As part of your investigation, insert PRINT @@TRANCOUNT or SELECT @@TRANCOUNT statements at appropriate places to see what is going wrong.
@@TRANCOUNT
PRINT @@TRANCOUNT
SELECT @@TRANCOUNT