Linked Server Error

Hello All,

I have created a Linked Server on Server A between A and B and the test connection works successfully but when i tried to access a stored procedure on Server B, i.e. tried to insert a record it throws me a error 

OLE DB provider "SQLNCLI11" for linked server "Server B" returned message "The partner transaction manager has disabled its support for remote/network transactions.".
Msg 7391, Level 16, State 2, Line 7
The operation could not be performed because OLE DB provider "SQLNCLI11" for linked server "Server B" was unable to begin a distributed transaction.

Here is the query 

Declare @xxx

Set xxxx

Create table tbl,

(

)

Insert into table execB.db.storedprocedure xxx

select * from tbl

September 3rd, 2015 1:27pm

First verify the "Distribute Transaction Coordinator" Service is
running on both database server computer and client computers
1.      Go to "Administrative Tools > Services"
2.      Turn on the "Distribute Transaction Coordinator" Service if it is not running

If it is running and client application is not on the same computer as
the database server, on the computer running database server
1.      Go to "Administrative Tools > Component Services"
2.      On the left navigation tree, go to "Component Services > Computers
> My Computer" (you may need to double click and wait as some nodes
need time to expand)
3.      Right click on "My Computer", select "Properties"
4.      Select "MSDTC" tab
5.      Click "Security Configuration"
6.      Make sure you check "Network DTC Access", "Allow Remote Client",
"Allow Inbound/Outbound", "Enable TIP" (Some option may not be
necessary, have a try to get your configuration)
7.      The service will restart
8.      BUT YOU MAY NEED TO REBOOT YOUR SERVER IF IT STILL DOESN'T WORK
(This is the thing drove me crazy before)

On your client computer use the same above procedure to open the
"Security Configuration" setting, make sure you check "Network DTC
Access", "Allow Inbound/Outbound" option, restart service and computer
if necessary.

On you SQL server service manager, click "Service" dropdown, select
"Distribute Transaction Coordinator", it should be also running on
your server computer.
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 9:36pm

Hi Vamshi435,

What is your Windows Server version? If you are using Windows 7/Windows 8/Windows 2008/Windows 2008 R2, please follow the steps in this article to configure MSDTC on both servers.

Also please note that if the firewall is turned on, you also need to set up the firewall for MSDTC.

1. Open the Control Panel, open Windows Firewall, and click Change settings to display Windows Firewall Settings.

2. Click the Exceptions tab.

3. Check the box for Distributed Transaction Coordinator and click OK.

There is also a similar blog for your reference.
http://thesmartpanda.com/sqlncli11-linked-server-dtc-issue/

Thanks,
Lydia Zhang

September 4th, 2015 2:01am

I have tried everything making changes for MSDTC and also checked the firewall exceptions nothing worked but finally after going on to the created linked server properties and making changes for ENable Promtotion of Distributed Transactions False then it worked does this effect anything
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 10:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics