locked
MSDTC broken and unfixable? RRS feed

  • Question

  • Since having to rebuild my Vista 32bit laptop from a full system backup after a hard drive failure, I have had a problem with MSDTC.  After bootup I get the "MS DTCconsole program stopped working and was closed" error.  I am also unable to access COM+ Applications in Component Services.

    If I try msdtc -uninstall or msdtc -install I get an error message box pop up with "c:\windows\system32\msdtclog.dll is either not designed to run on Windows or it contains an error, etc..."

    If I do sfc /scannow, I get this:

    2009-02-14 02:04:32, Info                  CSI    00000016 [SR] Cannot repair member file [l:24{12}]"msdtclog.dll" of Microsoft-Windows-COM-DTC-Runtime-Log, Version = 6.0.6001.18000, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch

    I appear to get two distinct types of error message in the event log:

    Faulting application msdtc.exe, version 2001.12.6931.18000, time stamp 0x47918f3b, faulting module ntdll.dll, version 6.0.6001.18000, time stamp 0x4791a7a6, exception code 0xc000035a, fault offset 0x00009cac, process id 0xda8, application start time 0x01c9975fce1f40e5.

    And...

    KTMRM service failed to load the system restore information. As a result, the service is exiting. Please try restarting the service, if the service fails to start, contact product support. Error Specifics: hr = 0x8007041d, d:\rtm\com\complus\dtc\dtc\msdtcprx\src\dtcinit.cpp:541, CmdLine: C:\Windows\system32\dllhost.exe /Processid:{02D4B3F1-FD88-11D1-960D-00805FC79235}, Pid: 4456


    Any help with this greatly appreciated...

    Wednesday, February 25, 2009 3:45 PM

Answers

  • Something is not right. Recovering from PC backup works fine with MSDTC, unless the OS image is in a bad state. Also, the log indicates that you had the same issue before the system restore. Please provide more details on how the machine is setup and rebuilt.

    Also msdtc -install and -uninstall assume that the binaries are intact. You might want to try Windows repair/boot from windows CD and try doing a repair.

    Monday, March 2, 2009 8:14 PM
    Moderator

All replies

  • Can you try this ?

    1)    Delete the msdtc.log file (%windir%\system32\msdtc). You'll lose any in-flight transactions doing this. But you'll be ok, as you have rebuilt the machine.

    2)   msdtc.exe -uninstall

    3)   msdtc.exe -install

    4)   Try the component services UI (Dcomcnfg)

     

    Friday, February 27, 2009 6:05 AM
    Moderator
  • 1) Done

    2) Error message:

    msdtc.exe - Bad Image

    C:\Windows\system32\MSDTCLOG.dll is either not designed to run on Windows or it contains an error.  Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

    3) See (2)

    4) Error message:

    Catalog Error

    An error occurred while processing the last operation.

    Error code 8004E00F - COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator.

     

    Friday, February 27, 2009 9:26 AM
  • Was this a clean install ? Looks like an issue with the install. And also check, if %SystemDrive%\Windows\DtcInstall.log for any errors.

     

    Friday, February 27, 2009 6:36 PM
    Moderator
  • I think this is the thing - it was a clean install on 26-Nov-08, but then I had a hard disk failure on 24-Dec-08.  I recovered from a complete PC backup around 27-Dec-08 - which is when this problem occurred.

    Here is the dtcinstall.log:

    11-02-2006 04:48 : DTC Install error = 0, Entering DeployDtc, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (56)
    11-02-2006 04:48 : DTC Install error = 0, InstallContacts, Enter, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (298)
    11-02-2006 04:48 : DTC Install error = 0, InstallContacts, Exit, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (377)
    11-02-2006 04:48 : DTC Install error = 0, DeployDtc: Calling SetSddlOnResources, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (124)
    11-02-2006 04:48 : DTC Install error = 0, DeployDtc: SetSddlOnResources finished, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (133)
    11-02-2006 04:48 : DTC Install error = 0, Exiting DeployDtc, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (140)
    11-02-2006 05:08 : DTC Install error = 0, SysPrepDtcCleanup : Enter, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (1728)
    11-02-2006 05:08 : DTC Install error = 0, SysPrepDtcCleanup : Exit, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (1764)
    11-02-2006 05:08 : DTC Install error = 0, SysPrepDtcGeneralize : Enter, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (1770)
    11-02-2006 05:08 : DTC Install error = 0, SysPrepDtcGeneralize : Exit, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (1829)
    01-20-2008 17:38 : DTC Install error = 0, SysPrepDtcSpecialize : Enter, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (1835)
    01-20-2008 17:38 : DTC Install error = 0, InstallContacts, Enter, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (298)
    01-20-2008 17:38 : DTC Install error = 0, InstallContacts, Exit, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (377)
    01-20-2008 17:38 : DTC Install error = 0, SysPrepDtcSpecialize : Exit, d:\vistartm\com\complus\dtc\dtc\adme\deployment.cpp (1866)
    01-20-2008 18:43 : DTC Install error = 0, Entering DeployDtc, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (55)
    01-20-2008 18:43 : DTC Install error = 0, DeployDtc: Environment variable INSTALLER_SHADOWED_COMPONENT_VERSION is set, indicating Uninstall - do nothing., d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (95)
    01-20-2008 18:43 : DTC Install error = 0, Exiting DeployDtc, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (139)
    01-20-2008 18:57 : DTC Install error = 0, SysPrepDtcCleanup : Enter, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (1801)
    01-20-2008 18:57 : DTC Install error = 0, SysPrepDtcCleanup : Exit, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (1852)
    01-20-2008 18:58 : DTC Install error = 0, SysPrepDtcGeneralize : Enter, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (1858)
    01-20-2008 18:58 : DTC Install error = 0, SysPrepDtcGeneralize : Exit, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (1929)
    11-26-2008 10:47 : DTC Install error = 0, SysPrepDtcSpecialize : Enter, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (1935)
    11-26-2008 10:47 : DTC Install error = 0, InstallContacts, Enter, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (297)
    11-26-2008 10:47 : DTC Install error = 0, InstallContacts, Exit, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (376)
    11-26-2008 10:47 : DTC Install error = 0, SysPrepDtcSpecialize : Exit, d:\rtm\com\complus\dtc\dtc\adme\deployment.cpp (1997)
    12-03-2008 12:23 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-03-2008 12:23 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-03-2008 12:23 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)
    12-03-2008 17:35 : DTC Install error = -2147467259, failed in z_pTrace->Trace, d:\rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp (2396)
    12-04-2008 11:08 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-04-2008 11:08 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-04-2008 11:08 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)
    12-04-2008 17:41 : DTC Install error = -2147467259, failed in z_pTrace->Trace, d:\rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp (2396)
    12-10-2008 16:18 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-10-2008 16:18 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-10-2008 16:18 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)
    12-10-2008 17:32 : DTC Install error = -2147467259, failed in z_pTrace->Trace, d:\rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp (2396)
    12-11-2008 16:08 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-11-2008 16:08 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-11-2008 16:08 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)
    12-12-2008 13:07 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-12-2008 13:07 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-12-2008 13:07 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)
    12-13-2008 01:16 : DTC Install error = -2147467259, failed in z_pTrace->Trace, d:\rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp (2396)
    12-15-2008 10:46 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-15-2008 10:46 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-15-2008 10:46 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)
    12-15-2008 19:22 : DTC Install error = -2147467259, failed in z_pTrace->Trace, d:\rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp (2396)
    12-16-2008 16:48 : DTC Install error = 0, going to do CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1101)
    12-16-2008 16:48 : DTC Install error = 0, successfully done CreateMutexW, d:\rtm\com\complus\dtc\shared\util\security.cpp (1141)
    12-16-2008 16:48 : DTC Install error = 0, IN CILogWriteAsynch::Init, d:\rtm\com\complus\dtc\dtc\log\logmgr\src\ilgwrta.cpp (173)

    Friday, February 27, 2009 8:32 PM
  • Something is not right. Recovering from PC backup works fine with MSDTC, unless the OS image is in a bad state. Also, the log indicates that you had the same issue before the system restore. Please provide more details on how the machine is setup and rebuilt.

    Also msdtc -install and -uninstall assume that the binaries are intact. You might want to try Windows repair/boot from windows CD and try doing a repair.

    Monday, March 2, 2009 8:14 PM
    Moderator
  • vista business 32-bit

    i had the same problem - hard drive failure, install new larger drive, restore from complete PC backup at which point MSDTC fails to start at boot and connot be restarted (application event log event id 4420):

    MS DTC failed to process a system restore event. As a result, the service is exiting. Please try restarting the service, if the service fails to start, contact product support. Error Specifics: hr = 0x80070002, d:\rtm\com\complus\dtc\dtc\msdtc\src\msdtc.cpp:2682, CmdLine: C:\Windows\System32\msdtc.exe, Pid: 2088

    i tried the solution srini banala suggested:

    1)    Delete the msdtc.log file (%windir%\system32\msdtc). You'll lose any in-flight transactions doing this. But you'll be ok, as you have rebuilt the machine.

    2)   msdtc.exe -uninstall

    3)   msdtc.exe -install

    and it worked - MSDTC is now happy. THANK YOU SRINI!

    Thursday, April 2, 2009 3:08 PM