Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2005

Tip: Looking for answers? Try searching our database.

Root transaction wanted to commit, but transaction aborted

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vijay Anand Kannan - 11 Apr 2005 05:05 GMT
I am getting error Root transaction wanted to commit, but transaction
aborted.

This error mostly occurs only when Client,COM+,SQL Server is in the
same system.

Otherwise it seems working fine.

We tried all possibilities of Increasing the timeout ....

We have Transaction Required and use Autocomplte for each functions.

We call the DataAccess Class from this Transaction Class. There do we
perform Insert, update ...

If there is any error we throw the error back to the Transaction Class
where we catch.

Nothing more we do, still we get this error.

When SQL Server is in other system I don't have any problem

Our Architecture is Windows 2000 with SP4, .Net 2003, VB.Net with SQL
Server

I looked into lot of articles for the solution but nothing worked

Can someone please help us.

This is needed to be tested with this configuration of having the
Client,COM+,SQL Server in a same system.

I appreciate your help. Thanks in Advance

Thanks & Regards

Vijay Anand Kannan
Dmytro Lapshyn [MVP] - 12 Apr 2005 11:15 GMT
Hi,

This message usually indicates that a nested transaction voted for abortion
and you've attempted to commit the root transaction after that.
You might have connectivity problems to the SQL Server instance (which
network library you use BTW?), or the DB transaction might fail due to the
lack of resources. As you say the error goes away when you move the SQL
server to another machine, this is a very likely reason.

You can attach the SQL trace utility and see what happens on the DB level -
what you should be looking for is the real error failing the DB transaction.

Signature

Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]

>I am getting error Root transaction wanted to commit, but transaction
> aborted.
[quoted text clipped - 33 lines]
>
> Vijay Anand Kannan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.