Applies to: Exchange Server 2007 SP1
Topic Last Modified: 2008-11-20
This topic explains how to use the ADSI Edit tool to resolve a problem that may occur when you try to install Microsoft Exchange Server 2007 Service Pack 1 (SP1).
When you try to install Exchange 2007 SP1, the installation fails during the organization preparation part of Setup. In this scenario, you receive the following error message:
The Name property contains leading or trailing whitespace, which must be removed. |
When you examine the [drive]:\ExchangeSetupLogs\ExchangeSetup.log file, you see entries that resemble the following:
[<date> <time>] [2] Searching objects of type "EmailAddressPolicy" with filter "(PolicyOptionListValue NotEqual System.Byte[])", scope "SubTree" under the root "Recipient Policies". [<date> <time>] [2] [WARNING] There are recipient policy object(s) that do not contain e-mail address properties. Those policies are not shown unless you use the parameter "IncludeMailboxSettingOnlyPolicy" in the Get-EmailAddressPolicy command. [<date> <time>] [2] Ending processing. [<date> <time>] [2] Beginning processing. [<date> <time>] [2] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: '<domainController>.example.com', Preferred Global Catalog: '<domainController>.example.com', Preferred Domain Controllers: '{ <domainController>.example.com }' [<date> <time>] [2] Processing object "<smtpdomain1>.com". [<date> <time>] [2] [ERROR] The Name property contains leading or trailing whitespace, which must be removed. [<date> <time>] [2] Ending processing. [<date> <time>] [2] Beginning processing. [<date> <time>] [2] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: '<domainController>.example.com', Preferred Global Catalog: '<domainController>.example.com', Preferred Domain Controllers: '{ <domainController>.example.com }' [<date> <time>] [2] Processing object "<smtpdomain2>.com". [<date> <time>] [2] [ERROR] The Name property contains leading or trailing whitespace, which must be removed. [<date> <time>] [2] Ending processing. [<date> <time>] [2] Beginning processing. [<date> <time>] [2] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: '<domainController>.example.com', Preferred Global Catalog: '<domainController>.example.com', Preferred Domain Controllers: '{ <domainController>.example.com }' [<date> <time>] [2] Processing object "<smtpdomain3>.com". [<date> <time>] [2] [ERROR] The Name property contains leading or trailing whitespace, which must be removed. [<date> <time>] [2] Ending processing. [<date> <time>] [2] Beginning processing. [<date> <time>] [2] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: '<domainController>.example.com', Preferred Global Catalog: '<domainController>.example.com', Preferred Domain Controllers: '{ <domainController>.example.com }' [<date> <time>] [2] Processing object "<smtpdomain4>.com". [<date> <time>] [2] [ERROR] The Name property contains leading or trailing whitespace, which must be removed. [<date> <time>] [2] Ending processing. |
Cause
This issue occurs if a recipient policy name contains leading or trailing white-space characters (blank spaces).
Resolution
To resolve this issue, examine the distinguished name (DN) of each recipient policy to determine whether the DN contains any leading or trailing white spaces. To do this, follow these steps.
Note: |
---|
You can also use the Dumrprp.vbs script to return the recipient policy information from the Exchange organization. Dumrprp.vbs is a tool that is available to Microsoft support engineers. To obtain the Dumrprp.vbs script, contact Microsoft Customer Service and Support. For information about how to contact support, see Microsoft Help and Support. |
- Start the ADSI Edit tool, and then connect to the
Configuration container. To do this, follow these steps:
- On a server, click Start, click Run, type
adsiedit.msc, and then click OK.
- In the navigation pane, click ADSI Edit.
- On the Action menu, click Connect to.
- Click Select a well known Naming Context if this entry
is not already selected.
- In the Select a well known Naming Context list, click
Configuration, and then click OK.
- On a server, click Start, click Run, type
adsiedit.msc, and then click OK.
- Expand the following nodes:
- Configuration [<domainController>.contoso.com]
- CN=Configuration,DC=contoso,DC=com
- CN=Services
- CN=Microsoft Exchange
- CN=<OrganizationName>
- Configuration [<domainController>.contoso.com]
- Under CN=<OrganizationName>, click CN=Recipient
Policies.
- In the details pane, examine the recipient policy DNs to locate
any entries that resemble the following:
CN=<policy name>\,CN=Recipient Policies,CN=<OrganizationName>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com
- Note whether any DNs appear together with a backslash character
(\) or if any leading or trailing white spaces appear in the DN. A
backslash character is used to "escape" the white-space
character.
- Use the Exchange Management Console to remove any white spaces
from the recipient policy name. To do this, follow these steps:
- In the Exchange Management Console, expand Organization
Configuration, and then click Hub Transport.
- Click the E-mail Address Policies tab, right-click the
appropriate policy, and then click Edit.
- Delete any leading or trailing white spaces from the policy
name, and then finish modifying the policy.
- In the Exchange Management Console, expand Organization
Configuration, and then click Hub Transport.