Linked servers SQLNCLI problem. “No transaction is active”

前端 未结 4 539
甜味超标
甜味超标 2021-01-06 07:39

Im trying to execute a stored procedure and simply insert its results in a temporary table, and I\'m getting the following message:

The operation coul

4条回答
  •  抹茶落季
    2021-01-06 08:03

    You also have to check the DNS name resolution in the IP network configuration.

    For example, you have a server called server-a.mydomain.com and another one called server-b.otherdomain.com, log in the server-a and do a "ping server-b" (without the domain).

    If it responds "Ping request could not find host server-b. Please check the name and try again." that is the problem.

    Go to the Control Pannel > Network Connections > Right click in the network card > properties > Internet Protocol > Properties > Advanced > DNS > Append this DNS suffix in order. And here add the local domain: mydomain.com and then add the remote domain: otherdomain.com Click OK until you exit

    Now if you do the "ping server-b" it should repond something like:

    Pinging server-b.otherdomain.com [192.168.1.2] with 32 bytes of data: Reply from 192.168.1.2: bytes=32 time=12ms TTL=64 Reply from 192.168.1.2: bytes=32 time=9ms TTL=64

    Now try to again to execute the distributed transaction.

提交回复
热议问题