There was an unexpected server shutdown, on a sql server box. Upon restart one of
the databases went into an IN RECOVERY state,
and once the database had reached 99% complete the following message appeared in
the SQL Server log files.
SQL Server detected a DTC/KTM in-doubt transaction with UOW {63E15310-78DA-42DA-8BB1-38B59FDA866E}.
Please resolve it following the guideline for Troubleshooting DTC Transactions.
Initially I tried the: KILL '{63E15310-78DA-42DA-8BB1-38B59FDA866E}' WITH COMMIT,
but this didn't resolve the issue.
The resolution was achieved by:
1) Type "mmc.exe" (without the quotation marks) in the Run dialog box to
open Microsoft Management Console (MMC).
2) In MMC, on the Console menu, click Add/Remove Snap-in.
3) In the Add/Remove Snap-in dialog box, click Add.
4) In the Add Standalone Snap-in dialog box, click Component Services, and
then click Add to add the snap-in.
5) Click Close.
6) In the Add/Remove Snap-in dialog box, click OK.
7) In the console root under Component Services, expand Component Services,
point to Computers, point to My Computer, and then click Distributed Transaction
Coordinator.
8) Select Transaction List. You see transactions in the details pane. Right-click
the transaction, and then click Resolve. You now have three options: Commit, Abort,
or Forget. Choose the one that is appropriate for your situation.
Republished from http://www.sqlserver-dba.com.
Republished from SQL Server DBA [65 clicks].
Read the original version here [32134 clicks].