Solved

COM+...???

Posted on 2004-08-23
3
229 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 50 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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