ADSI Requests on LDAP Objects May Hang Multiple-Threaded Programs

This article was previously published under Q272365
This article has been archived. It is offered "as is" and will no longer be updated.
When you are using the ADSI LDAP provider in a multiple-threaded program, threads may not return from an LDAP request.
This issue is caused by a critical section not being released by the first thread to make a request. Therefore, subsequent threads cannot enter the critical section and seem to stop responding (hang).

This problem is not apparent in programs that effectively run "single-threaded" (such as CScript programs), but is noticeable in programs in which requests run on multiple threads (such as Microsoft Internet Information Services).
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 theMicrosoft 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   --------------------------------------------------------   11/07/2000  01:02p  5.0.2195.2669  689,424  Ntfrs.exe   11/07/2000  01:06p  5.0.2195.2669   50,960  Ntfrsapi.dll   11/07/2000  01:06p  5.0.2195.2669   20,752  Ntfrsprf.dll   11/07/2000  01:06p  5.0.2195.2669   68,608  Ntfrsres.dll   10/20/2000  11:24a  5.0.2195.2534   46,352  Ntfrsupg.exe   10/20/2000  11:24a  5.0.2195.2534   39,696  Ntfrsutl.exe				

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 2.
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Article ID: 272365 - Last Review: 10/21/2013 00:57:01 - Revision: 3.3

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp2fix KB272365