我有一个在查询中正确执行的链接服务器,但当我尝试在触发器中执行它时,我得到了这个:
Error Source: .Net SqlClient Data Provider
Error Message: The operation could not be performed because OLE DB provider "SQLNCLI" for linked server [LINKEDSERVER] was unable to begin a distributed transaction.
... Returned Message "The Transaction Manager has disabled its support for remote/network transactions"
然后我在两台服务器上激活了DTC:
以下是配置MSDTC的方法:
现在我明白了:
Error Source: .Net SqlClient Data Provider.
Error Message: Timeout Expired. The timeout period elapsed prior to completition of th eoperation or the server is not responding.
答案 0 :(得分:1)
我现在正在使用它,我刚刚在远程服务器上添加了防火墙规则到MSDTC.EXE,入站和出站。
由于