Solved

COM+...???

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 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