When you run
distributed transaction query on linked
server in SQL Server 2008 on Windows Server
2008 like:
Summary
Method are same to resolve Distributed transaction issue on Linked Server whether you are using Windows Server 2003 or Windows Server 2008 but options are available at different places under Component Services.
then you may get following error message:BEGIN DISTRIBUTED TRANSACTIONSELECT * FROM [SQLVillage].Sales.dbo.CustMaster
OLE DB provider "SQLNCLI10" for linked server "SQLVillage" returned message "The transaction manager has disabled its support for remote/network transactions.".Intent of this article to guide you how to resolve this issue. You might have already resolved several times similar issue when SQL Server running Windows Server 2003 using following steps using Component Services (Start -> Program -> Administrative Tools -> Component Services)
Msg 7391, Level 16, State 2, Line 2
The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "SQLVillage" was unable to begin a distributed transaction.
- Expand Computers
- Right Click My Computer and open Properties Page
- GO to MSDTC tab and Click on Security Configuration that will open following page:
In above page (Security Configuration), make sure Network DTC Access, Allow Inbound and Allow Outbound are checked. You may not need to turn on Allow Remote Clients.
- Click on OK on Security Configuration page and then Click on OK on My Computer Properties page
- Above steps will restart MSDTC service
- Expand Computers
- Expand Distributed Transaction Coordinator
- Right Click on Local DTC
- Click on Properties and go to Security tab as shown below:
In above page (Security Configuration), make sure Network DTC Access, Allow Inbound and Allow Outbound are checked. You may need to turn on Allow Remote Clients.
- Now Click on OK
- Above steps will restart MSDTC service
Summary
Method are same to resolve Distributed transaction issue on Linked Server whether you are using Windows Server 2003 or Windows Server 2008 but options are available at different places under Component Services.