Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Transaction (Process ID n) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
How to troubleshoot errors?
Posted

Have a look at these:
- http://support.microsoft.com/kb/832524[^]
- http://blog.sqlauthority.com/2007/05/16/sql-server-fix-error-1205-transaction-process-id-was-deadlocked-on-resources-with-another-process-and-has-been-chosen-as-the-deadlock-victim-rerun-the-transaction/[^]

The best way to avoid a deadlock is to make modifications to the tables always in the same order. However depending on the environment this may be hard to achieve.
 
Share this answer
 
 
Share this answer
 
 
Share this answer
 
Comments
Jibesh 7-Jan-13 3:43am    
It's better to post all your solution as one solution rather submit as individual solutions. You can edit your solution at any time using 'Improve Solution' widget.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900