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

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 6:42 UTC
Read the original article Hit count: 260

Filed under:
|

I have a very popular site in ASP.NET MVC/SQL Server, 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 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