473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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.SqlClient.SqlInternalConnection.Enlist NonNullDistributedTran
saction(ITransaction transaction)
at
System.Data.SqlClient.SqlInternalConnection.Enlist DistributedTransaction
(ITransaction newTransaction, Guid newTransactionGuid)
at
System.Data.SqlClient.SqlInternalConnection.Enlist DistributedTransaction
()
at System.Data.SqlClient.SqlInternalConnection.Activa te(Boolean
isInTransaction)
at System.Data.SqlClient.SqlConnection.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"
(ComponentServices-MyComputer->Properties->MSTDC->SecurityConfiguration)
.. 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 981

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

Similar topics

0
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...
7
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...
0
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...
0
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...
2
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...
0
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...
13
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...
3
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.