Partager via


Event ID 4157 — Microsoft Distributed Transaction Coordinator Service Stoppage

Applies To: Windows Server 2008

The Microsoft Distributed Transaction Coordinator service (MSDTC) coordinates transactions, regardless of failures that may occur during the process, so that the work is committed as a single transaction even if the work spans multiple resource managers on multiple computers.

MSDTC is a Windows service. By default, the service is configured as a manual service rather than as an automatic service. However, most applications demand-start the service as needed. If necessary, the administrator can start or stop the service with the Services administrative tool.

Event Details

Product: Windows Operating System
ID: 4157
Source: Microsoft-Windows-MSDTC
Version: 6.0
Symbolic Name: IDS_DTC_E_NOSVCSTOP
Message: Could not stop the MS DTC service or or one of its dependent services.%0

Resolve

Stop MSDTC

You may be able to solve a problem with the Microsoft Distributed Transaction Coordinator service (MSDTC) by stopping the service.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To stop MSDTC:

  1. Click Start, and then click Command Prompt.
  2. At the command prompt, type net stop msdtc, and then press ENTER.

Verify

To verify that the Microsoft Distributed Transaction Coordinator service (MSDTC) is running:

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

  1. Click Start, and then click Command Prompt.
  2. At the command prompt, type sc query msdtc, and then press ENTER.
  3. The system responds with information about the service. Confirm that the these two items appear: SERVICE_NAME: msdtc and STATE : 4 RUNNING.

Microsoft Distributed Transaction Coordinator Service Stoppage

Application Server