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. 6 13900
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.)
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.)
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.
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.)
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.
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.) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gary |
last post by:
All,
I am experiencing an error using MSDTC with SQL Server 2000 on Windows 2003
server. The code in question is a stored procedure that does a query within
a transaction using linked servers....
|
by: sjoshi |
last post by:
Hello
I had a question reagrding MSDTC usage. I know that MSDTC will enlist
each connection transactions as it's own (take ownership) and
commit/abort accordingly.
However I'm not sure what...
|
by: =?Utf-8?B?YWJheWVy?= |
last post by:
In short: I have an application using the CommittableTransaction class that
works fine when run locally, but does not escalate to MSDTC when deployed to
a Windows 2003 R2 server.
More...
|
by: RP |
last post by:
I tried following code but it generates error at line (using .....):
Error 23 The type or namespace name 'TransactionScope' could
not be
found (are you missing a using directive or an...
|
by: RP |
last post by:
I have a two classes, first named "ModCon" has procedures written for
connections and the second named "ModRes" contains functions and
procedures that can be reused. For my question it is important...
|
by: =?Utf-8?B?ZXhl?= |
last post by:
Hi,
I'm using TransactionScope to do a serie Insert, Update, Delete operations
with the ExecuteNonQuery and some Selects with ExecuteScalar everything works
fine with multiple connections in the...
|
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= |
last post by:
Hi -
I have 4 webservers in my webfarm. All Win2k3 web edition. Before
yesterday, none of them were service packed. I have now applied SP2 to two
of them, and I'm getting a very weird MSDTC...
|
by: G.S. |
last post by:
Is there a way to use transactions from within C# code without using
MSDTC (client-and-server environment where the SQL server is behind a
firewall)?
Thank you
|
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= |
last post by:
I have two web server, one DB server with two Database. I used MS enterprise
transaction with transfaction scope.
How to config MSDTC between the web server and DB to make it work?
any...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
| |