How to automatically re-run deadlocked transaction? (ASP.NET MVC/MS SQL)

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-31T03:34:58Z Indexed on 2010/05/31 3:42 UTC
Read the original article Hit count: 229

Filed under:
|

I have a very popular site in ASP.NET MVC/MS SQL, and unfortunately a lot of deadlocks occur. While I'm trying to figure out why they occur via the SQL profiler, I wonder how I can change the default behavior of MS SQL Server when doing the deadlocks.

Is it possible to re-run the transaction(s) that caused problems instead of showing the error screen?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about asp.net-mvc