Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7039691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:49:45+00:00 2026-05-28T01:49:45+00:00

I have a C#.Net MVC2 web app. We are loading a partial view with

  • 0

I have a C#.Net MVC2 web app. We are loading a partial view with the results of a search on our LDAP directory. However, the max number of return result items is 1000. In other words, if I type “b” into the search box, only one thousand rows are returned from LDAP. It’s causing some confusion. One of our users entered “b” as they were looking for Butamos. The list ended at Bond.

Here’s the code. Is there a way to specify returning an unlimited number of result rows?

ViewBag.people = new DirectorySearcher(
                        new DirectoryEntry("LDAP<stuff>),
                        formattedSearchString,
                        new string[] { "displayname", "mail", "msExchHomeServerName", "homeServer" })
                .FindAll());
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:49:45+00:00Added an answer on May 28, 2026 at 1:49 am

    This is a normal behaviour of the Active-Directory (and generally LDAP servers). You can replace with a paged search (look here), but the best practice is to add a search filter to reduce the number of returned objects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an MVC2 C#.Net web app using VS2010. Below is an entry in
I am building an asp.net MVC2 web app using StructureMap. I have created a
I'm working on a asp.net mvc2 app. I have been using jquery to do
I have an MVC2 app I developed with the VS2010 RC and the .NET
We've an ASP.Net MVC2 web app (SQL 2008 in backend). We use Data Annotations
I have a web application which was using Asp.net MVC2 . I Upgraded it
I have a .NET v4 application consisting of a web application (ASP.NET MVC2) and
I have an IIS7.5 web-site, on Windows Server 2008, with an ASP.NET MVC2 web-site
I have a web application written in asp.net mvc2. Currently hosted on amazon cloud
I have an Asp.net MVC2 web application. I built the application using VS2008 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.