MSDTC error with TransactionScope

G

Guest

Hello,

I'm using a TransactionScope with a ADO.NET SqlClient and i get the error :
System.Runtime.InteropServices.COMException (0x8004D024): The transaction
manager has disabled its support for remote/network transactions. (Exception
from HRESULT: 0x8004D024). Please enable DTC for network access in the
security configuration for MSDTC using the Component Services Administrative
tool.

I've checked the configuration on both the client and the server and MSDTC is
enabled for network access (client and administrative with no authentication
required)

The DB run under SQL2005 / Windows 2003 Server and the client app run under
Win XP SP2.

What could be the reason of this ?

Thank You.

Cylt.
 
K

Kevin Yu [MSFT]

Hi Cylt,

Please also check in the Administrative Tools/Services to see if the
Distributed Transaction Coordinator service has been enabled.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
G

Guest

Hi,
Thank you for your response.

yes, the DTC service is enabled on the client and the server.

Cylt.
 
G

Guest

I've just notice that the problem only occur if I use the "Integrated
Security" in the connexion string. With the SQL Server authentication it 's
ok.
I've checked the client user account on the server and it's ok, so i don't
understand why it's doesn't work with the Integrated Security mode (even if i
put the account in the administrative members).

Cylt.
 
K

Kevin Yu [MSFT]

Hi Cylt,

Are the SQL server and the DTC on the same machine? Does the DTC service
have permission to access the SQL Server?

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
G

Guest

Hi,
Are the SQL server and the DTC on the same machine? Yes they are.
Does the DTC service have permission to access the SQL Server?
I'm not sure of what you mean by "have permission to acces"... Where
could I find this information ?
What I can say is that the account use by DTC (NT
Authority\NetworkService) has also a permission (Connect SQL) under
SQLServer.

Cylt.
 
K

Kevin Yu [MSFT]

Hi Cylt,

Can you try to use a SQL Profiler trace to see if the MSDTC service is
connecting to the SQL server using the correct credential? You'll also see
what is going wrong from the trace log.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top