|
|
Question : MS DTC Crashing SQL out
|
|
Hi,
I have a stored procedure that when I run sometimes crashes out SQl to the point where I need to reboot the server. The stored procedure runs a number of delete SQL statments from 5 tables in my database and then deletes a line out of a table on my AS400 system.
The client im running it form freezes and any open instances of enterprise manager lookiung at the server has to be end processed as they hang.
I get the following event log messages
ID : 53305 The MS DTC XA Transaction Manager could not enroll with the MS DTC Transaction Manager on behalf of the XA resource manager. DSN=cwbcore.dll File=d:\nt\com\complus\dtc\dtc\xatm\src\xasynch.cpp Line=3561.
ID : 17052 Error: 17883, Severity: 1, State: 0 Process 89:0 (147c) UMS Context 0x068A6E48 appears to be non-yielding on Scheduler 0
The SQl server is on Service pack 4. It seems to be a problem with reagrds to DTC as the 2 stored procedures that i have amanged to screw my server with all do something with AS400 tables.
Any help would be GREATLY appreciated.
Antony
|
Answer : MS DTC Crashing SQL out
|
|
From wha ti cna figure it was too do with the I series IBM software ODBC/OLE drivers updating teh client installed on teh server that was running SQl has to this date so far fixed it.
I went form r5v3 to r5v4 SI27741 and this seemed to at least for now stop the problem cocuring again. Imo(although not proven) i think using BEGIN TRAN COMMIT TRAN over DTS between teh SQl server and AS400's DB2 was what was causing the problem , i think that the DTC would try and inform the AS400 of a error and try adn roll back but would fail for an unkown reason!
Antony
|
|
|
|