Microsoft KB Archive/262848

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

Article ID: 262848

Article Last Modified on 9/16/2003

-

APPLIES TO

 Microsoft Outlook 2000 Standard Edition, when used with:  Microsoft Windows 95

 Microsoft Windows 98 Standard Edition 

-



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 &quot;Corporate or Workgroup&quot;.



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.

<ol> Quit Outlook.</li> Click Start, and then click Run.</li> In the Open box, type regedit, and then click OK.</li> 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

</li> Click the plus sign (+) next to the Profiles registry key. This displays the name of your profile that contains the LDAP service.</li> 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.</li> 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.</li> On the Registry menu, click Exit.</li> Start Outlook.</li></ol>

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).

Additional query words: OL20 find hits OL2K

Keywords: kbhowto KB262848

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.