Partager via


How to Enable MSDTC on a Web Server

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This topic provides steps for enabling network Distributed Transaction Coordinator (DTC) access and Microsoft Distributed Transaction Coordinator (MSDTC) on each of the Web servers. You should first enable DTC, followed by MSDTC.

To enable network DTC access on each Web server on Windows Server 2003

  1. Click Start, point to Control Panel, and then click Add or Remove Programs.

  2. Click Add/Remove Windows Components.

  3. Select Application Server, and then click Details.

  4. Select Enable network DTC access, and then click OK.

  5. Click Next.

  6. Click Finish.

To enable MSDTC on each Web server on Windows Server 2003

  1. Click Start, point to Programs, point to Administrative Tools, and then click Component Services.

  2. In the Component Services window, in the left pane, expand Component Services, expand Computers, right-click My Computer, and then click Properties.

  3. In the My Computer Properties dialog box, on the MSDTC tab, in the Transaction Configuration section, click Security Configuration.

  4. In the Security Configuration dialog box, select or verify that the following features are enabled:

    • In the Security Settings section, enable Network DTC Access, Allow Remote Clients, and Allow Remote Administration.

    • In the Transaction Manager Communication subsection, enable Allow Inbound and Allow Outbound, and select No Authentication Required.

    • Click Enable XA Transactions.

    Click OK.

  5. In the My Computer Properties dialog box, click OK.

  6. Repeat steps 1 through 5 on the other Web servers.

  7. Use DTCPing.exe to validate the connection between the Web server and the SQL server or SQL cluster depending on your configuration. To obtain the DTCPing.exe tool, see https://go.microsoft.com/fwlink/?LinkId=7216.

    For more information about how to troubleshoot MSDTC, see https://go.microsoft.com/fwlink/?LinkId=7220.

To enable MSDTC on each Web server on Windows Server 2008

  1. Click Start, click Run, type dcomcnfg and then click OK to open Component Services.

  2. In the console tree, click to expand Component Services, click to expand Computers, click to expand My Computer, and click to expand Distributed Transaction Coordinator.

  3. Right click Local DTC, and click Properties to display the Local DTC Properties dialog box.

  4. Click the Security tab.

  5. In the Security Settings section, click Network DTC Access.

  6. In the Client and Administration section, select Allow Remote Clients and Allow Remote Administration.

  7. In the Transaction Manager Communication section, select Allow Inbound and Allow Outbound.

  8. In the Transaction Manager Communication section, select Mutual Authentication Required (if all remote machines are running Windows Server 2003 SP1 or Windows XP SP2 or higher), select Incoming Caller Authentication Required (if running MSDTC in a cluster), or select No Authentication Required if some of the remote machines are pre-Windows Server 2003 SP1 or pre-Windows XP SP2. No Authentication Required is the recommended selection.

  9. Select Enable XA Transactions, and then click OK.

  10. Repeat steps 1 through 9 on the other Web servers.

See Also

Other Resources

How to Configure a Database Server

How to Enable MSDTC on the Business Management Server

Configuring the Web Servers