Concurrent access COM+ component issue

G

Guest

Hi all,

I got a serious urgent issue about COM+ component access. The thing is:
I developed a component(called comA) using VB, and another component(called
comB) using VB.NET, both of them are in same COM+ application. The
concurrency setting is Required for them. From asp(or asp.net) page, I call
comA which calls comB. For single user, the application runs perfect. If
there are 5 users access same asp page concurrently, sometimes it's ok,
sometimes some users got time out error. If there are more than 10 users, it
will fail most of the time. I checked COM+ applicaiton from MMC, found the
number of In Call of comA and comB is not 0, instead it remains 3, or5, or 8
forever. I need get this applicaiton to production, could anyone give me a
hand.
Thanks.

william
 
G

Guest

Here is more information about this issue.
The comB also calls comC which has Init function to initialize a module
level dataset which will be used later. The comB calls comC.Init first, then
calls comC.AFunction which consumes the module level dataset generated by
Init function. After then comB calls comC.Dispose which will set the dataset
to nothing. Hope this will help.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top