Solved

COM+...???

Posted on 2004-08-23
3
217 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
3 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 50 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now