Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

transaction issues in .NET

transaction issues in .NET

transaction issues in .NET

Hi, I have a web application writen in asp and aspx. The project is built in Microsoft Visual C#.

The applcation uses 2 vb components; i will call them A and B.

The second(B) component manages the db acces and uses adodb 2.6 and the first one(A) calls the A component in order to retrieve data from DB. The A component is called from asp pages.

I have registered the 2 components at COM+ and set for A transaction support: required and for B transaction support: "supported".

When i start from an ASP page everything works just fine.
The problem appears in ASPX pages; the DB acces time is way to long(most of the stored procedures take 30-60 seconds to complete) and i can't figure out why is this happening.

If u have any ideas please let me know. I can provide more details if neccessary.


RE: transaction issues in .NET

Ok my question is much easier now .
I've just noticed that the slow time appears only if i create the A component in page_load.
If the A component is created outside Page_Load(clicking a button for example) everything works just fine.
Why is this happening?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close