Microsoft KB Archive/312113

= BUG: PDH-Based Applications Stop Responding for 60 Seconds Before Exiting on Windows XP =

Article ID: 312113

Article Last Modified on 11/15/2003

-

APPLIES TO


 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework 1.1

-



This article was previously published under Q312113



SYMPTOMS
If the .NET Framework is installed on a system that is running Windows XP, any process that uses the Performance Data Helper (PDH) functions to retrieve performance counters may stop responding (&quot;hang&quot;) for 60 seconds when the process exits.



CAUSE
This delay is caused by a bug in the .NET Framework performance extension DLL, Mscoree.dll.



RESOLUTION
To prevent the delay, you can turn off the .NET Framework performance counters:
 * 1) Locate the following key in the registry:


 * 1) Change the Library value from mscoree.dll to donotload_mscoree.dll.

If you later decide to turn on the .NET Framework counters, change the Library value back to mscoree.dll.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
This occurs for applications that use either managed or unmanaged code. After the 60-second delay, the process exits as expected.

Additional query words: kbreadme

Keywords: kbbug kbreadme kbpending KB312113

-

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

© Microsoft Corporation. All rights reserved.