Hi all,
I'm having an issue trying to get MSDTC to work between a Win 7 32-bit PC running SQL Server 2008 and a Win XP 32-bit PC running SQL Server 2005. If I try to complete a distributed transaction, I get this error:
"The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "<BlisterMachineComputerName>" was unable to begin a distributed transaction."
I've also tried to use the DTCPing tool to see if I can troubleshoot the problem further. Using this blog as a guide: http://blogs.msdn.com/b/distributedservices/archive/2008/11/12/troubleshooting-msdtc-issues-with-the-dtcping-tool.aspx
When running DTCPing from the Windows 7 Machine, I get the following log:
IP Configure Information
Host Name . . . . . . . . . : RTG-PC
DNS Servers . . . . . . . . : x.x.x.x
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : no
WINS Proxy Enabled. . . . . : no
NetBIOS Resolution Uses DNS : no
Other adapter {CE61BB7A-9B69-4501-BE5D-10CDDB5DD50E}:
Description . . . . . . . . : Dell Wireless 1395 WLAN Mini-Card
Physical Address. . . . . . :
DHCP Enabled. . . . . . . . : yes
IP Address. . . . . . . . . : x.x.x.x
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : x.x.x.x
DHCP Server . . . . . . . . : x.x.x.x
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : Thu Nov 01 07:43:19 2012
Lease Expires . . . . . . . : Fri Nov 02 07:43:19 2012
Ethernet adapter {38ABD45E-3CA2-4669-9B98-9D0FBFE23878}:
Description . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
Physical Address. . . . . . :
DHCP Enabled. . . . . . . . : no
IP Address. . . . . . . . . : 192.168.10.100
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . : 0.0.0.0
DHCP Server . . . . . . . . :
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : Thu Jan 01 00:00:00 1970
Lease Expires . . . . . . . : Thu Jan 01 00:00:00 1970
++++++++++++lmhosts.sam++++++++++++
++++++++++++hosts ++++++++++++
192.168.10.1 IPC0591751
192.168.10.1 IPC0591754
192.168.10.1 IPC0591759
11-01, 14:06:54.196-->Error(0x424) at clutil.cpp @256
11-01, 14:06:54.196-->-->OpenCluster
11-01, 14:06:54.197-->-->1060(The specified service does not exist as an installed service.)
++++++++++++++++++++++++++++++++++++++++++++++
DTCping 1.9 Report for RTG-PC
++++++++++++++++++++++++++++++++++++++++++++++
RPC server is ready
++++++++++++Validating Remote Computer Name++++++++++++
11-01, 14:07:02.805-->Start DTC connection test
Name Resolution:
ipc0591759-->192.168.10.1-->IPC0591751
11-01, 14:07:02.820-->Start RPC test (RTG-PC-->ipc0591759)
RPC test is successful
Partner's CID:A8C85E9C-B387-4F80-8276-D7DC80E85111
++++++++++++RPC test completed+++++++++++++++
And the log that I get on the Windows XP machine is:
Platform:Windows XP
IP Configure Information
Host Name . . . . . . . . . : IPC0591759
DNS Servers . . . . . . . . : x.x.x.x
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : no
WINS Proxy Enabled. . . . . : yes
NetBIOS Resolution Uses DNS : no
Ethernet adapter {F53F1845-CCA2-435D-AE46-B11AB9EC1CDE}:
Description . . . . . . . . : Realtek RTL8168B/8111B Family PCI-E GBE NIC
Physical Address. . . . . . :
DHCP Enabled. . . . . . . . : no
IP Address. . . . . . . . . : 192.168.10.1
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . :
DHCP Server . . . . . . . . : 255.255.255.255
Primary WINS Server . . . . : 0.0.0.0
Secondary WINS Server . . . : 0.0.0.0
Lease Obtained. . . . . . . : Thu Jan 01 00:00:00 1970
Lease Expires . . . . . . . : Thu Jan 01 00:00:00 1970
Ethernet adapter {9C2B83D4-CAD1-4FE9-BFF2-7A2EC3EEC333}:
Description . . . . . . . . : Intel(R) PRO/1000 PL Network Connection
Physical Address. . . . . . :
DHCP Enabled. . . . . . . . : yes
IP Address. . . . . . . . . : x.x.x.x
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : x.x.x.x
DHCP Server . . . . . . . . : x.x.x.x
Primary WINS Server . . . . : 0.0.0.0
Secondary WINS Server . . . : 0.0.0.0
Lease Obtained. . . . . . . : Thu Nov 01 16:23:01 2012
Lease Expires . . . . . . . : Sat Dec 01 16:23:01 2012
Ethernet adapter {9A945C5E-7482-4458-A331-C6AB742EB05F}:
Description . . . . . . . . : TeamViewer VPN Adapter
Physical Address. . . . . . :
DHCP Enabled. . . . . . . . : yes
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
DHCP Server . . . . . . . . : 7.0.0.1
Primary WINS Server . . . . : 0.0.0.0
Secondary WINS Server . . . : 0.0.0.0
Lease Obtained. . . . . . . : Mon Nov 14 03:38:15 2011
Lease Expires . . . . . . . : Tue Nov 13 03:38:15 2012
++++++++++++lmhosts.sam++++++++++++
++++++++++++hosts ++++++++++++
127.0.0.1 localhost
++++++++++++++++++++++++++++++++++++++++++++++
DTCping 1.9 Report for IPC0591759
++++++++++++++++++++++++++++++++++++++++++++++
RPC server is ready
11-01, 13:53:16.140-->RPC server:IPC0591759 received following information:
Network Name: IPC0591759
Source Port: 1263
Partner LOG: RTG-PC2820.log
Partner CID: 1B5A7AF2-A056-45EA-8F4F-879BDC99B4AB
++++++++++++Validating Remote Computer Name++++++++++++
11-01, 13:53:32.609-->Start DTC connection test
Name Resolution:
rtg-pc-->192.168.10.100-->RTG-PC
11-01, 13:53:37.109-->Start RPC test (IPC0591759-->rtg-pc)
Problem:fail to invoke remote RPC method
Error(0x5) at dtcping.cpp @303
-->RPC pinging exception
-->5(Access is denied.)
RPC test failed
So, the steps I have taken are:
1) Verify that both PCs can resolve the other's name.2) Verify that MSDTC security is setup correctly on both computers. On the Windows 7 box, Network DTC Access is checked, Allow Remote Clients and Allow Remote Administration are checked, Allow Inbound and Allow Outbound are checked, No Authentication Required is checked, and Enable XA Transactions and Enable SNA LU 6.2 Transactions are checked. The DTC Logon account is NT AUTHORITY\NetworkService. On the Win XP machine, Network DTC Access is checked, Allow Remote Clients and Allow Remote Administration are checked, Allow Inbound and Allow Outbound are checked, No Authentication Required is checked, Enable TIP Transactions is checked, and Enable XA Transactions is checked. The DTC Logon account is NT AUTHORITY\NetworkService.
3) I've turned the firewall off on both machines.
4) I've added two registry entries on both PCs and rebooted them both. (RestrictRemoteClients = 0, and EnableAuthEpResolution = 1; both in HKLM\SOFTWARE\Microsoft\Windows NT\RPC)
If anyone can help me resolve this issue I would appreciate it. I've been pulling my hair out for 2 days now...
Thanks in advance,
Wyatt