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.