You are currently offline, waiting for your internet to reconnect

You cannot install Exchange Server 2010 SP1 if the domain NetBIOS name contains an ampersand character

SYMPTOMS
Consider the following scenario:
  • The Active Directory domain NetBIOS name contains an ampersand (&) character in a Microsoft Exchange Server 2010 environment.
  • You try to install Exchange Server 2010 Service Pack 1 (SP1) on a server in the environment.
In this scenario, the installation fails. Additionally, you receive the following error message:
An error occurred while parsing EntityName. Line7, position 12.
CAUSE
This issue occurs because the ampersand character is a reserved character in XML. Therefore, the character causes the parsing for current logon user to fail.
RESOLUTION
To resolve this issue, follow these steps.

Note This issue is resolved in Update Rollup 4 for Exchange Server 2010 Service Pack 1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2579150 Description of Update Rollup 4 for Exchange Server 2010 Service Pack 1
  1. Copy all the installation files from the CD to a hard disk, and then open the ManageScheduledTask.ps1 file in the scripts folder.
  2. Locate the following lines:
    function Get-CurrentUserName { [System.Security.Principal.WindowsIdentity]$id = [System.Security.Principal.WindowsIdentity]::GetCurrent() $id.Name }
  3. Change the lines as follows:
    function Get-CurrentUserName{ [System.Security.Principal.WindowsIdentity]$id = [System.Security.Principal.WindowsIdentity]::GetCurrent() [System.String]$fixedName = $id.Name.Replace('&','`&') return $fixedName }
  4. Save the file, and then try to install Exchange Server 2010 SP1 from the hard disk.
  5. Install the following update:
    2579150 Description of Update Rollup 4 for Exchange Server 2010 Service Pack 1
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 2491951 - Last Review: 08/12/2011 00:12:00 - Revision: 4.0

Microsoft Exchange Server 2010 Enterprise, Microsoft Exchange Server 2010 Standard

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB2491951
Feedback
var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" languagesListForLargeScreens track by $index" class="col-sm-6 col-xs-24 ng-scope"> Paraguay - Español
Venezuela - Español
/html>0&did=1&t=">d=1&t="> var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> y>