?
Solved

COM+...???

Posted on 2004-08-23
3
Medium Priority
?
240 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 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