1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: In a major messup - too many related error in the Event Viewer

Discussion in 'Windows XP' started by morland, May 21, 2010.

Thread Status:
Not open for further replies.
Advertisement
  1. morland

    morland Thread Starter

    Joined:
    Aug 7, 2007
    Messages:
    171
    Hi.

    Something seems to be messed up big time because I just noticed all of the following (towards the end of this post) in my event viewer.

    First, here is the status of Services (which may be relevant):
    • COM+Event System service: Startup type is set to manual and the current status shows that the service is running.
    • COM+ System Application services: Startup type is set to manual and the current status is that the service is not running
    • Distributed Link Tracking Client service: Startup type is set to manual and the current status is that the service is not running
    • Distributed Transaction Coordinator service: Startup type is set to manual and the current status is that the service is not running
    • MSDTC Service: Startup set to manual.

    Tried to set the MSDTC service to run it both in Manual startup mode and also by changing the startup type to Automatic but in both cases the following error comes up:
    Windows could not start the Distributed Transaction Coordinator on Local Computer. For more information, review the
    System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific
    error code -1073737712.

    Also did a Google search some places have recommended that problem has to do with the following. Interestingly I do not have SSQL server installed.

    Also while searching for a solution, I came across a post (http://forums.techarena.in/windows-server-help/15066.htm) but don't want to try it without a expert opinion. The solution at the post basically says:
    rename the %systemroot%\system32\dtclog folder to dtclog.old
    (IF it exist)
    create a new dtclog folder (%systemroot%\system32\dtclog)
    at command prompt: msdtc -resetlog

    And finally, below are all the errors in the Event viewer and because of which I am making this post:

    Event Type: Error
    Event Source: COM+
    Event Category: (98)
    Event ID: 4691
    Date: 20-May-10
    Time: 7:08:00 PM
    User: N/A
    Computer: mylaptop
    Description:
    The run-time environment was unable to initialize for transactions required to support transactional components.
    Make sure that MS-DTC is running. (DtcGetTransactionManagerEx(): hr = 0x8004d01b)

    Event Type: Error
    Event Source: MSDTC
    Event Category: Devices
    Event ID: 4112
    Date: 20-May-10
    Time: 7:07:59 PM
    User: N/A
    Computer: mylaptop
    Description:
    Could not start the MS DTC Transaction Manager.

    Event Type: Error
    Event Source: MSDTC
    Event Category: Disk
    Event ID: 4185
    Date: 20-May-10
    Time: 7:07:59 PM
    User: N/A
    Computer: mylaptop
    Description:
    MS DTC Transaction Manager start failed. LogInit returned error 0x2.

    Event Type: Error
    Event Source: MSDTC
    Event Category: Services
    Event ID: 4163
    Date: 20-May-10
    Time: 7:07:59 PM
    User: N/A
    Computer: mylaptop
    Description:
    MS DTC log file not found. After ensuring that all Resource Managers coordinated by MS DTC have no indoubt
    transactions, please run msdtc -resetlog to create the log file.

    Event Type: Error
    Event Source: Service Control Manager
    Event Category: None
    Event ID: 7024
    Date: 21-May-10
    Time: 11:08:49 AM
    User: N/A
    Computer: mylaptop
    Description:
    The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010).

    Event Type: Error
    Event Source: DCOM
    Event Category: None
    Event ID: 10005
    Date: 20-May-10
    Time: 8:30:35 PM
    User: username\loggedinusersname
    Computer: mylaptop
    Description:
    DCOM got error "The service cannot be started, either because it is disabled or because it has no enabled devices
    associated with it. " attempting to start the service upnphost with arguments "" in order to run the server:
    {204810B9-73B2-11D4-BF42-00B0D0118B56}​



    Thanks in advance for your help
     
  2. TerryNet

    TerryNet Terry Moderator

    Joined:
    Mar 23, 2005
    Messages:
    69,519
    What problem are you experiencing?
     
  3. jackuars

    jackuars

    Joined:
    Apr 20, 2009
    Messages:
    168
    I guess you are running your system in admin privileges.
    You need to reinstall COM+ and then reinstall MS DTC

    Reinstall COM+:
    01. Rename %SystemRoot%\System32\Clbcatq.dll to
    %SystemRoot%\System32\~Clbcatq.dll, making sure that you include the
    tilde (~).
    02. Shutdown and restart your computer.
    03. Delete the COM3 sub-key from the registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.
    04. Open a CMD.EXE prompt.
    05. Type pushd %SystemRoot% and press Enter.
    06. Type rd /s /q Registration and press Enter.
    07. Type popd and press Enter.
    08. Type exit and press Enter.
    09. Use Notepad to remove Hide from the COM= line in
    %SystemRoot%\Inf\Sysoc.inf.
    10. Start / Settings / Control Panel / Add/Remove Programs /
    Add/Remove Windows Components.
    11. Press Next and reinstall COM+.

    Re-install MSDTC


    1. In Administrative Tools, open Services, and then stop all services.
    2. In the Startup type column, change the startup type to Manual for all services except the services in the following list.

      Note We recommend that you note the services that you change so that you can correctly restore these values in step 7.
      • Alerter
      • COM+ Event System
      • Computer Browser
      • Distributed Link Tracking Client
      • DNS Client
      • Event Log
      • IPSEC Services
      • Logical Disk Manager
      • Messenger
      • Net Logon
      • NT LM Security Support Provider
      • Network Connections
      • Plug and Play
      • Remote Procedure Call (RPC)
      • Remote Procedure Call (RPC) Locator
      • Removable Storage
      • Security Accounts Manager
      • Server
      • System Event Notification
      • Task Scheduler
      • TCP/IP NetBIOS Helper
      • Windows Management Instrumentation
      • Windows Management Instrumentation Driver Extensions
      • Windows Time
      • Workstation
    3. Close Services, and then restart your computer.
    4. At a command prompt, type the following command: %WINDIR%\System32\msdtc.exe -uninstall
    5. Start Registry Editor, and then remove the following registry keys if they exist:
      • HKEY_CLASSES_ROOT\CID
      • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC
      • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MSDTC
      • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\MSDTC
      • HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC
    6. At a command prompt, type %WINDIR%\System32\msdtc.exe -install.
    7. Wait for disk activity to stop, and then restore the startup type of the services that you changed to their original values.
    8. In the registry, create the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL
    9. At a command prompt, type regsvr32 mtxoci.dll.

      You will receive a message that states that DllRegisterServer in Mtxoci.dll succeeded. Click OK to close the message.
    10. Restart your computer.
    11. At a command prompt, type %WINDIR%\System32\msdtc.exe -resetlog.


    NOTE: If Windows File Protection blocks any of the above renaming
    and/or deletions, perform those steps in Safe Mode.
     
  4. jackuars

    jackuars

    Joined:
    Apr 20, 2009
    Messages:
    168
    You could do this by method 1.This solution should work out for you.

    Method 1: Re-create the MS DTC logRe-create the MS DTC log, and then restart the service. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type the following command, and then press ENTER:msdtc -resetlog
      Warning The msdtc -resetlog command can cause data corruption if it is used incorrectly. Make sure that you do not have any pending transactions when you run this command.
    3. Type the following command, and then press ENTER:net start msdtc
    Method 2: Set the logon account permissions for the MS DTC service

    If Method 1 does not resolve the problem, set the logon account for the MS DTC service to have read and write permissions for the Msdtc.log file. To do this, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type control admintools, and then press ENTER.
    3. Double-click Services.
    4. In the Services pane, locate Distributed Transaction Coordinator.
    5. In the Log On As column, note the account name.

      Note The default logon account for the MS DTC service is the NETWORK SERVICE account.
    6. Start Windows Explorer, and then open the %windir%\System32\Msdtc folder.
    7. Right-click the Msdtc.log file, and then click Properties.
    8. Click the Security tab.
    9. Click the logon account name that you noted in step 5. For example, click the NETWORK SERVICE account name.
    10. In the Permissions pane, click to select the Allow check box for the following permissions:
      • Read & Execute
      • Read
      • Write
    11. Click OK.
    12. Click Yes to accept the security warning.
    13. In the Services pane, right-click Distributed Transaction Coordinator, and then click Start.
    Write to us what whether you see any more errors after performing these solutions.
     
  5. jackuars

    jackuars

    Joined:
    Apr 20, 2009
    Messages:
    168
  6. morland

    morland Thread Starter

    Joined:
    Aug 7, 2007
    Messages:
    171
    Hi all,

    thanks for your replies.

    @jackuars: Before I try your solution. I just checked and the Universal Plug and Play Device Host service on my machine was disabled???? I have set it to manual and will re-start the computer. In your experience, do you think that could be the culprit or can the problem only be fixed by your tip (which I really appreciate).

    However what could have caused this problem?

    Hi TerryNet

    Well the DVD/CD drive is not working anymore but maybe that's because of some other reason/error. SO far and luckily this is the only know problem that I have run into and hope that i will be the last :)


    Thanks again Terry and jackuars
     
  7. TerryNet

    TerryNet Terry Moderator

    Joined:
    Mar 23, 2005
    Messages:
    69,519
    I doubt those Events or that service are related to the DVD/CD drive, but hopefully that information from jackuars will fix the one issue, and we'll see if the drive problem is helped.
     
  8. morland

    morland Thread Starter

    Joined:
    Aug 7, 2007
    Messages:
    171
    Hi TerryNet.

    For odd reasons the Event Errors/ID's above are no longer appearing and all i have done so far is to set the Universal Plug and Play Device Host service to manual. BUT I have a gut feeling that these will pop-up again because the status of the service is stopped. Maybe there is some particular application (when run) that causes these errors???? Will apply the solution suggested by jackuars before day-end.

    P.S
    I think my laptop is possessed by something must worse than me because just noticed a warning which has shown up after a couple of days. I regularly delete my event log therefore can't tell the lst time it happened. Wish there was a good freeware tool to tell me the moment warning or error take place and get's logged in the Event viewer. Or maybe a affordable shareware which will serve the purpose?

    Will post a new thread related to the P.S part
     
  9. TerryNet

    TerryNet Terry Moderator

    Joined:
    Mar 23, 2005
    Messages:
    69,519
    Certainly there are some "little" things that should not be ignored because they are hints of bigger problems down the road. But, in my opinion, the Event log is something that can and should be ignored until it's needed to trouble shoot an actual problem. There are just too many warnings and errors that are just a normal part of operation (not actual problems) and too many features and options that a particular user never uses.

    The Distributed Transaction Coordinator service is an example. Apparently you've never needed that service--at least not since it stopped working--so unless you are sure that you will need it in the future I say don't worry about it now (this is, admittedly, an exception since you may as well follow up on all that jackuar's info).
     
  10. morland

    morland Thread Starter

    Joined:
    Aug 7, 2007
    Messages:
    171
    I guess you are right and maybe I'm (in all fairness) over doing it. After applying the solution from jackuar, I'll just put a stop to monitoring the event viewer in case in really do run into a problem. Appreciate your advice. Makes total sense :)

    I however do have a problem related to my DVD/CD writer and for that I'll start a new post.

    Many thanks and Regards.
     
  11. TerryNet

    TerryNet Terry Moderator

    Joined:
    Mar 23, 2005
    Messages:
    69,519
    You're welcome. :) Good luck with the DVD/CD drive.
     
  12. morland

    morland Thread Starter

    Joined:
    Aug 7, 2007
    Messages:
    171
    Hello jackuars.

    Just wanted to post a thank you because i tried your solution and (keeping my fingers crossed) the problems appear to have been solved.

    Thank you very much and I am really great full that you took the time to help.

    Regards.
     
  13. jackuars

    jackuars

    Joined:
    Apr 20, 2009
    Messages:
    168
    You are welcome :)
     
  14. xandao99

    xandao99

    Joined:
    Sep 13, 2010
    Messages:
    2

    Hello,
    I'm having this same problem, but on Windows 7 and Vista. On computers that are running Windows XP i just runned the msdtc-resetlog and started the service and everything returned to normal.

    How do I perform the procedure up to the windows 7 and Vista? Because I couldn't find the file folders inside the sysoc.inf% systemroot% \ inf.

    Could you help-me?

    Thank you.

    Alexandre Dantas.
     
  15. Davec

    Davec Gone but never forgotten

    Joined:
    Jan 27, 2001
    Messages:
    4,435
    Posting in a solved thread is not thw way to get a reply. Also, you should post in the Win7 & forum for a Win7 problem.
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/924413