How to read MSDTC Trace logs

I have recently come across situation where i need to read the logs of MSDTC  and it is not straight forward approach after researching little bit i am able to figure out the method ,Please find detail information on how to read MSDTC logs and let me know if you have questions in comments


Steps to read MSDTC logs

tracefmt.exe  will play important role reading MSDTC logs


1.Please check if you have tracefmt.exe in  C:\WINDOWS\system32\MsDtc location and  copy to C:\WINDOWS\system32\MsDtc\trace ,  if you don’t have tracefmt.exe in the location please download from

https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11800 and need to install complete package from below link (I have attached tacefmt.exe in zip folder)



2.Once you install go to C:\WinDDK\7600.16385.1\tools\tracing\amd64 and you will find tracefmt.exe  and copy tracefmt.exe   to C:\WINDOWS\system32\MsDtc\Trace where you have trace files

3.If you already have tracefmt.exe then you can skip step 1 and 2


4.once you copied  open the command prompt using admin privileges and run the command as below and make sure tracefmt.exe and logfiles are in same folder that is trace location in C:\WINDOWS\system32\MsDtc\trace


tracefmt dtctrace.log.2016-05-20-22-54-28-0113-00 -o output.txt -tmf msdtctr.mof


dtctrace.log.2016-05-20-22-54-28-0113-00 is logfile which we have
output.txt is text file which is generated to readable format


  

Comments

Popular posts from this blog

CDC Monitoring

Error - Exclusive access could not be obtained because the database is in use. Msg 3101, Level 16, State 1, Line 3 Exclusive access could not be obtained because the database is in use. Msg 3013, Level 16, State 1, Line 3 RESTORE DATABASE is terminating abnormally.