Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

COM+...???

Posted on 2004-08-23
3
Medium Priority
?
248 Views
Last Modified: 2010-04-15
I am having some strange behaviour in ym COM+ component.
I have created a com+ server component called TestCom.
I instansiate it in another client project in the same solution..
TestCom tc = new TestCom();
..
Inside the constructor i call a bunch of funtions and perform some operations.
While tracing the execution inside the constructor, at one point during the execution
from one of the lines in between the constructor code, the execution jumps back to the
first line on the constructor...it always happens at this line...each time i create an instance of the
com+ app..
Is there some reson this can happen...

Appreciate the help.
Thanks,
Preetham.
0
Comment
Question by:kingpreetham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 200 total points
ID: 11928913
This is valid because a COM+ component only gets instatiated when u call a method in that component. This is because of the Object pooling concept of COM+. This contains a pool of objects. But these objects won't be instantiated until u call a method or function in that component.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question