OL2000: (CW) How to Change the Query Limit for an LDAP Client (262848)



The information in this article applies to:

  • Microsoft Outlook 2000, when used with:
    • the operating system: Microsoft Windows 95
    • the operating system: Microsoft Windows 98

This article was previously published under Q262848
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


NOTE: The procedures in this article only apply if you have installed Outlook with the Corporate or Workgroup option. With this option, you can use Messaging Application Programming Interface (MAPI) services. To determine your installation type, click About Microsoft Outlook on the Help menu. If you have the Corporate or Workgroup installation, you see "Corporate or Workgroup".

SUMMARY

When you add the Lightweight Directory Access Protocol (LDAP) directory service to your Outlook profile, the default maximum number of matches that are returned when you perform a search is 100. Although there is no way to modify this setting in Outlook, you can modify it in the registry.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Quit Outlook.
  2. Click Start, and then click Run.
  3. In the Open box, type regedit, and then click OK.
  4. Locate the following registry key, and then double-click the registry key to open it:

    HKEY_CURRENT_USER\Software\Microsoft\Windows Messaging Subsystem\Profiles

    The following is the registry key for Microsoft Windows 2000 and Microsoft Windows XP:

    HKEY_CURRENT_USER\Software\Microsoft\Windows Nt\CurrentVersion\ Windows Messaging Subsystem\Profiles

  5. Click the plus sign (+) next to the Profiles registry key. This displays the name of your profile that contains the LDAP service.
  6. Click each subkey folder in your profile until you locate the 001e6608 value name in the right pane. If the value data is not a number, continue with the search.
  7. Double-click the 001e6608 value name, change the value data to the maximum number of matches that you want returned when you perform a search, and then click OK.
  8. On the Registry menu, click Exit.
  9. Start Outlook.
NOTE: If you are using Microsoft Exchange Server version 5.0 or 5.5, you can change the search limit globally within the Exchange Server Administration program. The Maximum number of search results returned setting is located on the Search tab in the LDAP (Directory) Site Defaults Properties dialog box at the site level, and in the LDAP (Directory) Settings Properties dialog box at the server level.

If the LDAP server returns too few entries, you do not receive an error message. If you receive the following error message, the Exchange Server Maximum Number of Search Results setting has been exceeded:
Unable to display results because too many entries in the Internet Directory match your search criteria (11).

Modification Type:MajorLast Reviewed:9/16/2003
Keywords:kbhowto KB262848