473,783 Members | 2,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

COM+ Error when enlisting in a distributed transaction

RJN
Hi

Sorry for posting this message again.
I'm using ServiceConfig class for handling across component
transactions. My .Net application is running on windows 2003 server.
database is SQLServer. The application works fine if the SQLServer is
running on the same server where my application is running. If I try to
access a SQLServer which is running on a remote server, I get the
folowing error.

An error occurred while enlisting in a distributed transaction. at
System.Data.Sql Client.SqlInter nalConnection.E nlistNonNullDis tributedTran
saction(ITransa ction transaction)
at
System.Data.Sql Client.SqlInter nalConnection.E nlistDistribute dTransaction
(ITransaction newTransaction, Guid newTransactionG uid)
at
System.Data.Sql Client.SqlInter nalConnection.E nlistDistribute dTransaction
()
at System.Data.Sql Client.SqlInter nalConnection.A ctivate(Boolean
isInTransaction )
at System.Data.Sql Client.SqlConne ction.Open()

The MSTDTC is running on the remote server. I set the Security
configuration for the components services where application is running
as "No Authentication Required"
(ComponentServi ces-MyComputer->Properties->MSTDC->SecurityConfig uration)
.. With this change the application could run. But I'm not sure if this
is the right way to overcome the authentication issue. Any better
approach please?

Regards

rjn


*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #1
0 1001

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3026
by: Amy Lewis | last post by:
I recently moved my Windows 2003 server from one domain into another. After the move I have noticed that some of my .asp pages won't load. I get a server 500 error. When I look in the event log I see cannot load application "....surveys" com+ unable to talk to the Microsoft Distributed Transaction Coordinator" I went into Services and realized that the Distributed Transaction Coordinator wasn't started. I tried to
7
13911
by: Prashanth | last post by:
Hi, We are facing some issues in COM+ deployment. We get system error "Unable to enlist in a distributed transaction" . It has a very inconsistant behaviour. On refreshing the screens couple of times, the error disappears.Also it reappears abruptly giving an impression that the transaction failed although the changes are commited to the database.Please let me know if any of you have faced it before. This is a .Net Application with...
0
1181
by: Bryan Dickerson | last post by:
I am trying to get IIS fully setup for the 3rd or 4th time so that I can start a web-services project but when I try to get the Windows components to install it, I get: "Distributed Transaction Coordinator Setup Error" Sub-component Distributed Transaction Coordinator raised an exception while processing the OC_COMPLETE_INSTALLATION setup message. d:\nt\com1x\dtc\ntdtcsetup\src\csetuputil.cpp (line 2748) Error Code = 0x80004005
0
2603
by: Raja | last post by:
I have a Linked Server i.e. my SQL Server 2000 is Linked to the Oracle Database. The Link is perfect and dont have any problems in accessing the data from SQL Server 2000. The only problem i am facing is when i am trying to initiate a Distributed transaction. A simple Insert Query is working fine but when i try to perform the same through a Stored Procedure having the Begin Transaction i am getting the error mentioned below. Server:...
2
3896
by: John Lee | last post by:
Hi, I have few questions related to .NET 2.0 TransactionScope class behavior: 1. Check Transaction.Current.TransactionInformation.DistributedIdentifier to identify if distributed transaction is used - is it accurate way? 2. I have the following code blocks - In code block 1, the first check the DistributedIdentifier is ALL 0s so it
0
945
by: Julian Sanz | last post by:
Hi!!! I have a problem when i try to open a sql connection with distributed transactions. it throws an InvalidOperationException, error when registering a distributed transaction. Can anybody help me? thanks
13
5456
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't understand what a DCOM Server is or a Microsoft Transaction Server, etc. I have no idea.... Kyle
3
1272
by: Julia | last post by:
Hi, I have an asp.net app that is using a sql-database localted on a different machine. These two machines are in the same network and there is no firewalls in between. The app is using Serviced Components and are installed in the Component Service. When I try to update the database this error occures: "An error occured while enlisting in a distributed transaction". What is wrong and how can I fix this.
0
3019
by: gshawn3 | last post by:
Hi, I am having a hard time creating a Trigger to update an Oracle database. I am using a SQL Server 2005 Express database on a Win XP Pro SP2 desktop, linked to an Oracle 10g database on a remote Windows 2003 server. Both machines are on the same domain and very close physically (<1ms ping). I have set up the Oracle linked server in SQLEXPRESS, added the login/pw information, and I can execute select and update queries
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.