To capture deadlock info, run the following through SQL Profiler.
- Create a new trace, using a blank template
- Add the Locks:Deadlock graph event from the Locks category. An additional tab appears on the Trace Properties window, named Event Extraction Settings.
- Save the Deadlock XML Events Separately by selecting the check box. The deadlock information will be written to a separate file.