Posted on: 5/8/2014 7:09:35 AM | Views : 394

hi,
I am using transaction in my application (Asp.net mvc).
TimeSpan timeout = TimeSpan.FromSeconds(0); using (var scope = new TransactionScope(TransactionScopeOption.RequiresNew, timeout)) { like i mentioned above but sometimes it throw exceptions when i debug the source (throw exceptions on different places of code):
1). the transaction has aborted.
2). the lock waits time out  exceeded.

how to handle it?
my database is mysql and i am using visual studio 2010.



Go to the complete details ...