FIX: The performance counters that monitor an application stop responding when the application exits and restarts and you receive the System.InvalidOperationException exception on a computer that is running .NET Framework 2.0

You add performance counters to monitor an application on a computer that is running the Microsoft .NET Framework 2.0. The application exits and then restarts. However, the values in the performance counters do not change and you receive a System.InvalidOperationException exception together with the following exception error message:
Instance '< Instance name of the performance counter>' already exists with a lifetime of Process. It cannot be recreated or reused until it has been removed or until the process using it has exited.
This problem occurs because the handles are not cleaned up after the process that owns the performance counters exits. Then, the Common Language Runtime (CLR) throws the exception described in the symptoms section.

Hotfix Replacement Information

The hotfix that corresponds to KB971601 has been superseded with the hotfix KB981574, which contains all fixes that were previously included in KB971601. You should use the hotfix KB981574 to fix the issues described in KB971601. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981574 The splash screen stays open longer than usual when you try to start Excel on a computer that has the .NET Framework 3.5 SP1 installed
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 971601 - Last Review: 08/04/2010 03:49:00 - Revision: 4.0

Microsoft .NET Framework 2.0 Service Pack 2

  • kbHotfixServer kbexpertiseadvanced kbqfe kbsurveynew KB971601