Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
groston
Yak Posting Veteran
61 Posts |
Posted - 2005-06-20 : 13:03:34
|
| I have been researching this, but have not yet resolved my problem. Though Server 1 can successfully query Server 2, I cannot get DTC to work. I only need for Server 1 to be able to execute a DTC on Server 2. Please help!NOTE: The SQL Service is run as a non-privleged user(Sorry for the length of this message - just trying to show that I have tried a number of tests...)Server 1:Name: ssel-schedOS: Windows Server 2003IP1: 192.168.168.200IP2: 192.168.1.241DB: SQL Server 2000 SP3aMSDTC: Installed, running as Network Service accountMSDTC configuration: Network DTC Access (checked), Network Administration (checked), Network Tranactions (checked), XA Transactions (checked)Server 2:Name: ssel-schedOS: Windows Server 2003 SP1IP1: 192.168.168.100IP2: <not used>DB: SQL Server 2000 SP3aMSDTC: Installed, running as Network Service accountMSDTC configuration: Network DTC Access (checked), Allow Remote Clients (checked), Allow Remote Administration (checked), Allow Inbound (checked), Allow Outbound (checked), No Authentication Required (selected), XA Transactions (checked)Network configuration:Both machine sit on a private network. There is no firewall between the machines.On ssel-sched, using sp_helpserver:SSEL-SCHED SSEL-SCHED rpc,rpc out,use remote collation 0 NULL 0 0SSEL-SEC SSEL-SEC rpc,rpc out,data access 1 NULL 0 0Results of DTCping:From ssel-sched:Platform:Windows 2003Security settings for DTC under Windows 2003 NetworkDtcAccess :true NetworkDtcAccessAdmin :true NetworkDtcAccessClients :false NetworkDtcAccessTransactions:true NetworkDtcAccessTip :false XaTransactions :true DomainControllerState :false AccountName :NT Authority\NetworkService TurnOffRpcSecurity :falseIP Configure Information Host Name . . . . . . . . . : ssel-sched DNS Servers . . . . . . . . : 141.213.4.4 141.213.24.5 Node Type . . . . . . . . . : NetBIOS Scope ID. . . . . . : IP Routing Enabled. . . . . : no WINS Proxy Enabled. . . . . : no NetBIOS Resolution Uses DNS : noEthernet adapter {CB9992BC-F7FB-4D90-A198-47D2EF4EB516}: Description . . . . . . . . : Intel(R) PRO/1000 MT Network Adapter Physical Address. . . . . . : 00-30-48-73-F9-2A DHCP Enabled. . . . . . . . : no IP Address. . . . . . . . . : 192.168.168.200 Subnet Mask . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . : 192.168.168.1 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 1970Ethernet adapter {0166AAD1-2701-41AE-92C2-E5F7208C88E9}: Description . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter Physical Address. . . . . . : 00-30-48-73-F9-2B DHCP Enabled. . . . . . . . : no IP Address. . . . . . . . . : 192.168.1.241 Subnet Mask . . . . . . . . : 255.255.255.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++++++++++++lmhosts.sam++++++++++++++++++++++++hosts ++++++++++++127.0.0.1 localhost192.168.1.2 ssel-kiosk1192.168.1.3 ssel-kiosk2192.168.1.4 ssel-kiosk3192.168.1.60 ssel-kiosk4192.168.1.101 wago-test192.168.1.102 wago-bypass192.168.1.241 ssel-sched192.168.1.242 ssel-apps192.168.1.243 ssel-test++++++++++++++++++++++++++++++++++++++++++++++ DTCping 1.8 Report for SSEL-SCHED ++++++++++++++++++++++++++++++++++++++++++++++Firewall Port Settings: Port:4000-4010RPC server is ready++++++++++++Validating Remote Computer Name++++++++++++06-20, 12:27:10.380-->Start DTC connection testName Resolution: ssel-sec-->192.168.168.100-->SSEL-SEC06-20, 12:27:15.208-->Start RPC test (SSEL-SCHED-->ssel-sec)RPC test is successful Partner's CID:7461CE5E-7FC6-4937-9E13-547724C76F04++++++++++++RPC test completed+++++++++++++++06-20, 12:27:35.943-->RPC server:SSEL-SCHED received following information: Network Name: ssel-sched Source Port: 4009 Partner LOG: SSEL-SEC2584.log Partner CID: 7461CE5E-7FC6-4937-9E13-547724C76F04++++++++++++Start Reverse Bind Test+++++++++++++Received Bind call from SSEL-SEC Network Name: ssel-sched Source Port: 4009 Hosting Machine:SSEL-SCHED06-20, 12:27:35.974-->Trying to Reverse Bind to SSEL-SEC... Test Guid:7461CE5E-7FC6-4937-9E13-547724C76F04Name Resolution: SSEL-SEC-->192.168.168.100-->SSEL-SECReverse Binding success: SSEL-SCHED-->SSEL-SEC++++++++++++Reverse Bind Test ENDED++++++++++06-20, 12:27:40.489-->Called POKE from Partner:SSEL-SEC Network Name: ssel-sched Source Port: 4009 Hosting Machine:SSEL-SCHED++++++++++++Start DTC Binding Test +++++++++++++Trying Bind to SSEL-SEC06-20, 12:27:40.489-->SSEL-SCHED Initiating DTC Binding Test.... Test Guid:1F6869DA-44DB-42FE-9C14-3359F788C6C1Received reverse bind call from SSEL-SEC Network Name: ssel-sched Source Port: 4009 Hosting Machine:SSEL-SCHEDBinding success: SSEL-SCHED-->SSEL-SEC++++++++++++DTC Binding Test END+++++++++++++From ssel-sec:Platform:Windows 2003Security settings for DTC under Windows 2003 NetworkDtcAccess :true NetworkDtcAccessAdmin :true NetworkDtcAccessClients :false NetworkDtcAccessTransactions:true NetworkDtcAccessTip :false XaTransactions :true DomainControllerState :false AccountName :NT Authority\NetworkService TurnOffRpcSecurity :trueIP Configure Information Host Name . . . . . . . . . : ssel-sec DNS Servers . . . . . . . . : 141.213.4.4 141.213.4.5 Node Type . . . . . . . . . : NetBIOS Scope ID. . . . . . : IP Routing Enabled. . . . . : no WINS Proxy Enabled. . . . . : no NetBIOS Resolution Uses DNS : noEthernet adapter {7EB4FBE3-8F31-4C3C-9B80-DE15653C285F}: Description . . . . . . . . : Intel(R) PRO/1000 MT Network Adapter Physical Address. . . . . . : 00-30-48-72-26-4E DHCP Enabled. . . . . . . . : no IP Address. . . . . . . . . : 192.168.168.100 Subnet Mask . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . : 192.168.168.1 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 1970Ethernet adapter {E5FEBE8A-0901-40CF-8AD8-A2A30A84F6BD}: Description . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter Physical Address. . . . . . : 00-30-48-72-26-4F DHCP Enabled. . . . . . . . : yes IP Address. . . . . . . . . : 0.0.0.0 Subnet Mask . . . . . . . . : 0.0.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. . . . . . . : Mon May 09 20:37:16 2005 Lease Expires . . . . . . . : Mon May 09 21:37:16 2005++++++++++++lmhosts.sam++++++++++++++++++++++++hosts ++++++++++++127.0.0.1 localhost++++++++++++++++++++++++++++++++++++++++++++++ DTCping 1.8 Report for SSEL-SEC ++++++++++++++++++++++++++++++++++++++++++++++RPC server is ready06-20, 12:27:44.156-->RPC server:SSEL-SEC received following information: Network Name: ssel-sec Source Port: 1694 Partner LOG: SSEL-SCHED324.log Partner CID: 1F6869DA-44DB-42FE-9C14-3359F788C6C1++++++++++++Validating Remote Computer Name++++++++++++06-20, 12:28:00.328-->Start DTC connection testName Resolution: ssel-sched-->192.168.168.200-->SSEL-SCHED06-20, 12:28:04.890-->Start RPC test (SSEL-SEC-->ssel-sched)RPC test is successful Partner's CID:1F6869DA-44DB-42FE-9C14-3359F788C6C1++++++++++++RPC test completed+++++++++++++++++++++++++++Start DTC Binding Test +++++++++++++Trying Bind to ssel-sched06-20, 12:28:04.890-->SSEL-SEC Initiating DTC Binding Test.... Test Guid:7461CE5E-7FC6-4937-9E13-547724C76F04Received reverse bind call from ssel-sched Network Name: ssel-sec Source Port: 1694 Hosting Machine:SSEL-SECBinding success: SSEL-SEC-->ssel-sched++++++++++++DTC Binding Test END+++++++++++++++++++++++++Start Reverse Bind Test+++++++++++++Received Bind call from ssel-sched Network Name: ssel-sec Source Port: 1694 Hosting Machine:SSEL-SEC06-20, 12:28:09.453-->Trying to Reverse Bind to ssel-sched... Test Guid:1F6869DA-44DB-42FE-9C14-3359F788C6C1Name Resolution: ssel-sched-->192.168.168.200-->SSEL-SCHEDReverse Binding success: SSEL-SEC-->ssel-sched++++++++++++Reverse Bind Test ENDED++++++++++Result of DTCtester running on ssel-sched:(Note: the DSN was created and tested and worked properly)C:\Program Files\dtcping>dtctester sselsec sa <password>Executed: dtctesterDSN: sselsecUser Name: saPassword: <password>tablename= #dtc9119Creating Temp Table for Testing: #dtc9119Warning: No Columns in Result Set From Executing: 'create table #dtc9119 (ival int)'Initializing DTCBeginning DTC TransactionEnlisting Connection in TransactionError:SQLSTATE=25S12,Native error=-2147168242,msg='[Microsoft][ODBC SQL Server Driver]Distributed transaction error'Error:SQLSTATE=24000,Native error=0,msg=[Microsoft][ODBC SQL Server Driver]Invalid cursor stateTypical Errors in DTC Output Whena. Firewall Has Ports Closed-OR-b. Bad WINS/DNS entries-OR-c. Misconfigured network-OR-d. Misconfigured SQL Server machine that has multiple netcards.Aborting DTC TransactionReleasing DTC Interface PointersSuccessfully Released pTransaction Pointer. |
|
|
|
|
|
|
|