"The administrative limit for this request was exceeded"

  • Thread starter Thread starter TG
  • Start date Start date
T

TG

I'm using the System.DirectoryServices.DirectorySearcher.Findall
method to attempt to retrieve user id's from an Exchange LDAP server.
I get the error message "The administrative limit for this request was
exceeded". Can someone please tell me if you've seen this and what
the cause is?

Thanks
 
Hello,

TG said:
I'm using the System.DirectoryServices.DirectorySearcher.
Findall method to attempt to retrieve user id's from an
Exchange LDAP server. I get the error message "The
administrative limit for this request was exceeded".
Can someone please tell me if you've seen this and what
the cause is?

This question is in no way related to the VB.NET language. You will have a
better chance to get an answer if you post to this ng:

news://news.microsoft.com/microsoft.public.dotnet.framework
 
Try setting the SizeLimit property of the DirectorySearcher to something
less than 1000 (or less than the expected number of entries returned) to
try to determine what the limit is. There are limitations imposed by the
Administrator of your AD for things like returning nodes. The default for
this class is 1000, but that set on your domain may be less. If we can
determine the approximate limit, we can possibly tell you what setting to
raise.

Steven Bras, MCSD
Microsoft Developer Support/Data Access Technologies

This posting is provided "AS IS" with no warranties, and confers no rights.

Microsoft Security Announcement: Have you installed the patch for Microsoft
Security Bulletin MS03-026?  If not Microsoft strongly advises you to
review the information at the following link regarding Microsoft Security
Bulletin MS03-026
http://www.microsoft.com/security/security_bulletins/ms03-026.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the SCAN program from the Windows Update site will help to
insure you are current with all security patches, not just MS03-026.
 
Back
Top