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 / Component Services / January 2004

Tip: Looking for answers? Try searching our database.

COM+ Transaction Timeout Threshold?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Largo SQL Tools - 05 Jan 2004 22:16 GMT
I'm running into a problem which may be related to a timeout occurring.  I
have a app that is consuming a web service I wrote.  The web service does a
large amount of database updates using COM+ transaction support.  After
about 70 to 80 seconds I get an error stating the following:  "Distributed
transaction completed. Either enlist this session in a new transaction or
the NULL transaction."  I think this is coming from a timeout somewhere.
However, my database connection string has the Timeout property set to 5
minutes and I have my web service Timeout property set the same.  My
question is this.  Does COM+, by default, timeout after a certain period of
time?  If so, how can I change this?

Thanks very much.

J.R.
Largo SQL Tools
The Finest Collection of SQL Tools Available
http://www.largosqltools.com
Florin Lazar [MSFT] - 06 Jan 2004 06:03 GMT
COM+ has a default transaction timeout of 60 seconds. You can use
Administrative Tools\Component Services to change it.
Right click on Console Root\Component Services\Computers\My Computer and
goto Options tab.

Regards,
Signature

Florin Lazar - Microsoft
http://weblogs.asp.net/florinlazar
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.

> I'm running into a problem which may be related to a timeout occurring.  I
> have a app that is consuming a web service I wrote.  The web service does a
[quoted text clipped - 13 lines]
> The Finest Collection of SQL Tools Available
> http://www.largosqltools.com
Klaus H. Probst - 06 Jan 2004 07:46 GMT
Ideally you'd change this at the component level instead. Modifying the
behavior of the DTC timeout for the entire machine might be a problem if
other applications with different needs are running there as well.

Signature

____________________
Klaus H. Probst, MVP
  http://www.vbbox.com/

> COM+ has a default transaction timeout of 60 seconds. You can use
> Administrative Tools\Component Services to change it.
[quoted text clipped - 21 lines]
> > The Finest Collection of SQL Tools Available
> > http://www.largosqltools.com

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.