Hi,
I tried to test the distributed transactions between the application server and the SQL database server, using the Microsoft DTCTester Tool (http://support.microsoft.com/kb/293799).
On both application and database servers, we have: Windows Server 2008R2 64-bit, and SQL Server 2012 64-bit Standard Edition.
I am getting the following error when running the DTCTester tool on the application server:
F:\Installers\DTCTester Tool\dtctest>dtctester test <username> <password>
Executed: dtctester
DSN: test
User Name: <username>
Password: <password>
tablename= #dtc10539
Creating Temp Table for Testing: #dtc10539
Warning: No Columns in Result Set From Executing: 'create table #dtc10539 (ival
int)'
Initializing DTC
Beginning DTC Transaction
Enlisting Connection in Transaction
Error:
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 cur
sor state
Typical Errors in DTC Output When
a. 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 Transaction
Releasing DTC Interface Pointers
Successfully Released pTransaction Pointer.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I also tried turning off the Firewall (on both the application and database server) in the Control Panel, but still got the same error.
Any help and insight is deeply appreciated! Thank you very much in advance!
Yifan