By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,422 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,422 IT Pros & Developers. It's quick & easy.

"The administrative limit for this request was exceeded"

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello,

"TG" <tg******@ems.jsc.nasa.gov> schrieb:
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....tnet.framework

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

P: n/a
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/se...s/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.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.