ADSI Requests on LDAP Objects May Hang Multiple-Threaded Programs

Article translations Article translations
Article ID: 272365 - View products that this article applies to.
This article was previously published under Q272365
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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 "single-threaded" (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

Properties

Article ID: 272365 - Last Review: October 21, 2013 - Revision: 3.3
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp2fix KB272365

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com