DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 327443 - Last Review: February 27, 2014 - Revision: 4.4

This article was previously published under Q327443
This article has been archived. It is offered "as is" and will no longer be updated.

SYMPTOMS

Under certain conditions, a class that is derived from the System.EnterpriseServices.ServicedComponent class that runs in a COM+ application may stop responding (deadlock).

CAUSE

This problem is caused by an Activity deadlock. Activities can deadlock on multithreaded applications because of an asynchronous cleanup of component references.

RESOLUTION

To resolve this problem, the client of the COM+ objects should systematically call the Dispose method. This call enables deterministic cleanup of the COM+ objects. You must call the Dispose method when you have finished using ServicedComponent objects.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
318000  (http://support.microsoft.com/kb/318000/ ) FIX: Various problems when you call transactional COM+ components from ASP.NET
312118  (http://support.microsoft.com/kb/312118/ ) The system memory usage and the handle counts increase more than you may expect when your application contains components that are derived from the System.EnterpriseServices.ServicedComponent class
For more information about Enterprise Services (COM+) in .NET, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/ms973847.aspx (http://msdn.microsoft.com/en-us/library/ms973847.aspx)

APPLIES TO
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft Enterprise Services (included with the .NET Framework) 1.0
  • Microsoft COM+ 1.0
Keywords: 
kbnosurvey kbarchive kbbug kbgarbagecollect kbnofix KB327443
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support