Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 3540

Unable to insert data from one server to another in transaction

$
0
0

I have two servers A and B, both with MSSQL server and connected by VPN.

Server A is Windows Server 2008 Standard with Microsoft SQL Server 2008 (SP3).
Server B is Windows Server 2012 R2 Standard with Microsoft SQL Server 2012.

I can run DTCPing from A to B with success, but not from B to A (RPC test failed).
I can ping from A to B and from B to A.

My goal is to insert some data to the table A1 on the server A when an insert trigger on the server B on the table B1 is activated. But when I try it, I get this error:

OLE DB provider "SQLNCLI10" for linked server "A" returned message "No transaction is active.".
Msg 7391, Level 16, State 2, Procedure my_insert, Line 4
The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "A" was unable to begin a distributed transaction.

I tried do the same in the other direction (make the trigger on the server A to insert data to a table on the server B), but even if the DTCPing works in this direction, I get same error.

Feel free to require more information about configuration or something else.

How can I make it work?



Viewing all articles
Browse latest Browse all 3540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>