Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

An error message is returned when you run the Get-Recipient command in the Exchange Management Shell that uses a Windows Server 2008 domain controller


View products that this article applies to.

Symptoms

Consider the following scenario. In an Exchange Server 2007 Service Pack 1 (SP1) environment, there are more than 1,000 users in the organization. You perform a filtered search against a Windows Server 2008 R2 domain controller. Then you receive an error when you run the following PowerShell command:
Get-Recipient -SortBy "DisplayName" -RecipientType "UserMailbox" -ResultSize �Unlimited�

The following error is returned in this scenario:
Get-Recipient : Active Directory operation failed on <Windows Server 2008 domain controller name>. Additional information: 
Active Directory rejected paged search cookie because a cookie handle was discarded by a domain controller or a different LDAP connection was used on subsequent page retrieval. Restart paged search.

↑ Back to the top


Cause

Exchange Server 2007 SP1 passes different BaseDN attributes during the paged search. This is usually not a problem because the Lightweight Directory Access Protocol (LDAP) server just ignores successive BaseDN attributes in earlier versions of Windows. However, Windows Server 2008 R2 rejects all successive searches if the BaseDN attributes are different.

Note A BaseDN attribute is a starting point in the Active Directory hierarchy where any given search starts.

↑ Back to the top


Resolution

To resolve this problem, install Update Rollup 9 for Exchange 2007 Service Pack 1. For more information about Update Rollup 9 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic: For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:

↑ Back to the top


More information

For more information about the Get-Recipient command, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/aa996921.aspx

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: KB961551, kbsurveynew, kbqfe, kbexpertiseinter, kbhotfixrollup

↑ Back to the top

Article Info
Article ID : 961551
Revision : 3
Created on : 8/26/2009
Published on : 8/26/2009
Exists online : False
Views : 313