469,917 Members | 1,474 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

MSDTC error with TransactionScope

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.

May 2 '06 #1
6 13737
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.)

May 3 '06 #2
Hi,
Thank you for your response.

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

Cylt.

"Kevin Yu [MSFT]" wrote:
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.)

May 3 '06 #3
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.

May 3 '06 #4
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.)

May 4 '06 #5
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.

May 4 '06 #6
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.)

May 5 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Gary | last post: by
1 post views Thread by sjoshi | last post: by
5 posts views Thread by RP | last post: by
reply views Thread by RP | last post: by
6 posts views Thread by =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post: by
5 posts views Thread by =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.