Microsoft KB Archive/315700

= Performance Data Helper Queries Do Not Work After 15-Second Timeout =

Article ID: 315700

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q315700



SYMPTOMS
When you are using Performance Data Helper (PDH) in a multithreaded program, all PDH queries in the process may return HRESULT 0x00000102. When this occurs, all queries stop, and the program appears to stop responding (hang) for 15 seconds. After this initial symptom, all API calls to query PDH fail after 15-second timeouts.



CAUSE
PDH is a thread-safe way of programmatically gathering performance data. It is thread safe because of a mutex that controls access to internal objects. PDH loses control over this mutex, and then becomes unusable in the process.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:

  Date         Time   Version      Size     File name ---  10-Jan-2002  10:26  5.0.2195.48  152,848  Pdh.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

Additional query words: kbMgmtAdmin

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbsysadmin kbwin2000sp3fix kbenv kbhotfixserver KB315700

-

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

© Microsoft Corporation. All rights reserved.