Microsoft KB Archive/329332

= You receive error 7391 when you run a distributed transaction against a linked server in SQL Server 2000 on a computer that is running Windows Server 2003 =

Article ID: 329332

Article Last Modified on 5/23/2006

-

APPLIES TO

 Microsoft SQL Server 2000 Standard Edition, when used with:  Microsoft Windows Server 2003, Standard Edition (32-bit x86)

 Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

 Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems

 Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)</li></ul>

 Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems</li></ul>

 Microsoft Windows Server 2003, Web Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q329332

<div class="notice_section">

<div class="symptoms_section">

SYMPTOMS
When you run a distributed transaction against a linked server in Microsoft SQL Server 2000 on a computer that is running Microsoft Windows Server 2003, you may receive the following error message:

Server: Msg 7391, Level 16, State 1, Line 2

The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction. OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator.

<div class="cause_section">

CAUSE
The problem occurs because Microsoft Distributed Transaction Coordinator (MS DTC) is not configured for network access. By default, the network access settings of MS DTC are disabled on new installations of SQL Server 2000 on computers that are running Windows Server 2003.

<div class="resolution_section">

RESOLUTION
To resolve this problem, follow these steps:
 * 1) Click Start, point to All Programs, point to Administrative Tools, and then click Component Services.
 * 2) In the Component Services Wizard, expand Component Services, and then double-click Computers.
 * 3) Right-click My Computer, and then click Properties.
 * 4) Click the MS DTC tab, and then click Security Configuration.
 * 5) In the Security Configuration dialog box, click to select the Network DTC Access check box.
 * 6) Under Network DTC Access, click Network Transactions.

Note If you installed Service Pack 1 for Windows Server 2003, you can click Allow Inbound and Allow Outbound.
 * 1) Make sure that DTC Logon Account is set to NT Authority\NetworkService.
 * 2) Click OK.
 * 3) In the message box, click Yes to continue.
 * 4) In the DTC Console Message dialog box, click OK.
 * 5) In the System Properties dialog box, click OK.
 * 6) Reboot the computer for these changes to take effect.

Note In some cases, you must start the DTC service before you start the SQL Server service so that the linked server distributed queries work well.

<div class="references_section">