473,795 Members | 3,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An error occured while...

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.

Thanks
Julia
Dec 1 '05 #1
3 1272
On Thu, 1 Dec 2005 05:55:02 -0800, "Julia"
<Ju***@discussi ons.microsoft.c om> wrote:
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.


See if MSDTC is running.

Administrative Tools -> Services -> Distributed Transaction
Coordinator.

I believe it will need to be running on the database server, and on
the server with the serviced component.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Dec 1 '05 #2
Hi,
Yes, it is running by the LocalSystem.

Julia

"Scott Allen" wrote:
On Thu, 1 Dec 2005 05:55:02 -0800, "Julia"
<Ju***@discussi ons.microsoft.c om> wrote:
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.


See if MSDTC is running.

Administrative Tools -> Services -> Distributed Transaction
Coordinator.

I believe it will need to be running on the database server, and on
the server with the serviced component.

--
Scott
http://www.OdeToCode.com/blogs/scott/

Dec 1 '05 #3
On Thu, 1 Dec 2005 06:37:02 -0800, "Julia"
<Ju***@discussi ons.microsoft.c om> wrote:
Hi,
Yes, it is running by the LocalSystem.


Ugh, well, DTC can be finicky with network settings, name resolution
and such. Here are two documents with troubleshooting tips.

http://support.microsoft.com/kb/191168/EN-US/
http://support.microsoft.com/default...b;en-us;293799

I'd start with the ping test in the first article to make sure both
computers can be reached by name.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Dec 1 '05 #4

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

Similar topics

3
2932
by: josh dismukes | last post by:
/// here is the code i'm getting a parse error on the last line of the code which /// is </html> any help will be much appreciated. <?php session_start ();
0
1577
by: Deep Purple | last post by:
I started with the following error... ------------------------------------------------------- An error occured while loading the schema with TargetNamespace 'http://www.w3.org/2001/XMLSchema' referenced in this document. The value for the 'base' attribute is invalid - 'xsd:string' is an invalid value for the 'base' attribute. An error occured at the file:///C:Program Files/Microsoft Visual Studio .NET 2003...
1
2154
by: John Mason | last post by:
I have a file name in my app.config file which contains the & character. <appSettings> <!-- User application and configured property settings go here.--> <!-- Connection string values --> <add key="ExcelFileName" value="T:\HR & Development\Personnel\Weekly Report\Weekly Report.XLS" /> When I try to read this in my app, I get an 'error occured while parsing EntityName'. Now I've found out that this is a known problem, but how do I
2
4342
by: Richard Thornley | last post by:
Hello, I am working on a VB.Net application and I am getting an error ONLY on the main computer that uses the application. The main computer is on the other coast so of course it would be the one having the problem. The application works fine on the test computers in my office. The test computers are all running Windows XP Service Pack 2. (Now that I wrote that I should check the version of Windows XP on the main computer.) Here is...
0
7718
by: gm | last post by:
Immediately after generating the Access application from the Source Safe project I get: "-2147467259 Could not use ''; file already in use." If Access database closed and then reopened I get: "-2147467259 The database has been place in a state by user 'Admin' on machine ..... that prevents it from being opened or locked."
3
7216
by: gadour | last post by:
do you have a solution to this problem <cfset monxml=xmlparse(tempfile)> An error occured while Parsing an XML document.
2
18187
by: sareena | last post by:
There is a problem with accessing an ASP appln hosted on a dedicated Win '03 load balanced server running IIS 6.0 in worker process isolation mode. When the user types in the URl of the appln and hits enter, some times they get a 'Page Cannot be Displayed' error. The details of the error are: ----------------------------------------------------- > The page cannot be displayed > Explanation: The Web server connection was closed. >...
1
1020
by: arunsoftware | last post by:
Hi, when i trying to connect data base through SQLDeveloper i am getting error occured while saving connection definition(IDEConnection.xml access denied)
3
1203
by: kanimozhiz | last post by:
I have created the Data access Logic component and when I execute the DALC an error occured like this "Cannot implicitly convert type 'x' to 'y'. An explicit conversion exists (are you missing a cast?) " This error occured while I was trying to insert the records in the DB through the DAL component. plz help me if anyone know the solution for this. Reply me as soon as possible, its very urgent.... Thanks in advance. Regards, kani.z
0
9519
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
10436
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...
0
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
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
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4113
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
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.