SQL Server 2005 Linked server Trigger insert operation giving XACT_E_TIP_CONNECT_FAILED error

0

I have 2 servers. In the first server am having a trigger that performs insert update delete transactions on the 2nd server. But whenever these triggers are called and invokes the linked server i get the error :

Msg 8509, Level 16, State 1, Line 1 Import of Microsoft Distributed Transaction Coordinator (MS DTC) transaction failed: 0x8004d01f(XACT_E_TIP_CONNECT_FAILED).

Any help will be appreciated.

sql-server-2005
hyperlink
triggers
asked on Stack Overflow Mar 23, 2011 by Maz

1 Answer

0

First of all, having an invoked trigger perform actions on another (linked) server is probably going to lead to all sorts of hard to solve problems.

It would be better to use something like Service Broker to queue these actions. Unless of course they have to be transactional.

Have you checked that MS DTC is running on both servers? What credentials is the trigger running under? Do those credentials have access on the linked server?

answered on Stack Overflow Mar 23, 2011 by Mitch Wheat

User contributions licensed under CC BY-SA 3.0