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 |
Kristen
Test
22859 Posts |
Posted - 2010-01-14 : 04:34:50
|
This question is from Ask SQL Team. I figured it might need discussion, rather than a simple "answer", so I'm copying it here. If you on have a simple answer you can enter that on Ask SQL Team (no registration necessary), but I figure that any discussion will be easier here.http://ask.sqlteam.com/questions/1562/problem-with-ms-dtc-on-sql2008-win-server-2k8-with-linked-server-from-sql2000-winHi,We have migrated our db from sql2000 win server 2k to sql2008 win server 2k8. We have linked server from sql2000 win server 2k. By our opinion the problem is with DTC and we have made a lot of setting that we found as solution for our problem, but still the problem exist. There is no any error or worning or information niether in the sql log nor in win event viewer. The application is hanging out and at the end the time out exception is shown.What we have done till now: 1. Enable Network DTC Access with inbound and outbound with No Authentication Required on win 2k8 2. We have opened RPC dynamic port allocation through registry on 2k and 2k8 3. We have entered subkey TurnOffRpcSecurity in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC and made it enable on 2k and 2k8 4. We have added exception for DTC in firewall for all entitiesWhat we have notice that when we restart SQL service and make the first try for our transaction the following is shown: "Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required." and after it: "Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required."Does someone have any idea what else can be done in order to solve the problem?Thanks in advance.Regards, SnezanaEdit:Hi,Also, I would add that we have tried to execute the query:begin distributed tranexec linkedserver.linkdb.storeprocedurecommit tranand it is working.And also on another places where we have transaction on linked server is is working. And sometimes it is happening the targeted place to pass and there is no rule when that will be.Any idea what else to check? |
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2010-01-14 : 14:25:50
|
what is the question? if you restart the sql service you're going to have to init the DTC...is the user actually having a problem? |
 |
|
Kristen
Test
22859 Posts |
Posted - 2010-01-14 : 14:37:53
|
Problem is "The application is hanging out and at the end the time out exception is shown." which I take to mean that the SProc is hanging. |
 |
|
russell
Pyro-ma-ni-yak
5072 Posts |
Posted - 2010-01-14 : 15:25:04
|
wow, i missed that part. guess i need to read more closely |
 |
|
Kristen
Test
22859 Posts |
Posted - 2010-01-15 : 02:23:47
|
I had to re-read it a couple of times to find it again! |
 |
|
|
|
|