Unable to begin a distributed transaction

后端 未结 9 1393
走了就别回头了
走了就别回头了 2020-11-28 23:18

I\'m trying to run SQL against a linked server, but I get the errors below :

BEGIN DISTRIBUTED TRANSACTION
SELECT TOP 1 * FROM Sessions


OLE DB provider &quo         


        
9条回答
  •  Happy的楠姐
    2020-11-28 23:32

    OK, so services are started, there is an ethernet path between them, name resolution works, linked servers work, and you disabled transaction authentication.

    My gut says firewall issue, but a few things come to mind...

    1. Are the machines in the same domain? (yeah, shouldn't matter with disabled authentication)
    2. Are firewalls running on the the machines? DTC can be a bit of pain for firewalls as it uses a range of ports, see http://support.microsoft.com/kb/306843 For the time being, I would disable firewalls for the sake of identifying the problem
    3. What does DTC ping say? http://www.microsoft.com/download/en/details.aspx?id=2868
    4. What account is the SQL Service running as ?

提交回复
热议问题