Microsoft KB Archive/312367

= PRB: No Object Statistics Appear in Component Services Snap-in =

Article ID: 312367

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2
 * Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2
 * Microsoft .NET Framework Class Libraries 1.0

-



This article was previously published under Q312367



SYMPTOMS
When you look at the object statistics for a serviced component in the Component Services Microsoft Management Console (MMC) snap-in, no numbers or statistics appear under Objects, Activated, Pooled, In call and Call-time.



CAUSE
These events are not available by default.



RESOLUTION
To resolve this problem, set the EventTrackingEnabled attribute to True in your code. To do this, add the following code before your class declaration: [EventTrackingEnabled(true)] Alternatively, you can follow these steps to resolve this problem:
 * 1) Open the Component Services MMC snap-in.
 * 2) Locate your component, right-click the component, and then click Properties.
 * 3) On the Activation tab, select the Component supports events and statistics check box.



STATUS
This behavior is by design.

Keywords: kbsysadmin kbprb KB312367

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.