Article ID: 969876 - View products that this article applies to.
You use the System.Web.Security.ActiveDirectoryMembershipProvider class in an ASP.NET 2.0 application to provide membership services by using an Active Directory server or an Active Directory Application Mode (ADAM) server. However, you receive an exception that resembles the following:
Exception type: System.DirectoryServices.Protocols.DirectoryOperationException
Note For more information about the stack trace output, see the More information section.
Message: The server cannot handle directory requests.
This problem occurs because ASP.NET 2.0 tries to put a Lightweight Directory Access Protocol (LDAP) connection into fast bind mode. However, because the LDAP connection is already bound to the directory service, the LDAP connection cannot be put into fast bind mode. Therefore, the directory request fails.
A supported hotfix is available from Microsoft.
Service pack informationThis hotfix is included in Microsoft .NET Framework 2.0 Service Pack 2 (SP2). To obtain the service pack from Microsoft Download Center, visit the following Microsoft Web site:
Hotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
PrerequisitesYou must have .NET Framework 2.0 Service Pack 1 installed to apply this hotfix. The 32-bit hotfix can be installed on Windows 2000, on Windows Server 2003 and on Windows XP. The 64-bit hotfix can be installed on Windows Server 2003 and Windows XP.
Restart requirementYou may have to restart the computer after you apply this hotfix if any of the affected files are being used when you install it. When you shut down any ASP.NET Web sites before you install the fix should let you avoid having to restart the system.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows 2000, Windows XP, Windows Server 2003 x86-based version
Collapse this tableExpand this table
Windows XP, Windows Server 2003 x64-based version
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to use the ActiveDirectoryMembershipProvider class in ASP.NET 2.0, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/system.web.security.activedirectorymembershipprovider.aspxFor more information about how to use the Membership feature in ASP.NET 2.0, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/ms998347.aspxFor more information about how to use the Fast Bind operation, visit the following Microsoft Web site: