Microsoft KB Archive/272365

= ADSI Requests on LDAP Objects May Hang Multiple-Threaded Programs =

Article ID: 272365

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q272365



SYMPTOMS
When you are using the ADSI LDAP provider in a multiple-threaded program, threads may not return from an LDAP request.



CAUSE
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 &quot;single-threaded&quot; (such as CScript programs), but is noticeable in programs in which requests run on multiple threads (such as Microsoft Internet Information Services).



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 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



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 2.



MORE INFORMATION
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

Additional query words: FRS NTFRS

Keywords: kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp2fix KB272365

-

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

© Microsoft Corporation. All rights reserved.