When you try to install the Exchange Server 2010 Mailbox role, the installation process fails


Symptoms


When you try to install the Microsoft Exchange Server 2010 Mailbox role, the installation process may fail.When this problem occurs, you receive the following error message in the Exchange Setup log:
RMS Shared Identity user 'CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,CN=Users,DC=exchange,DC=com' (originating server = 'W2K3DC01.exchange.com') is being linked to computer 'CN=Computer,CN=Computers,DC=exchange,DC=com' (originating server = 'W2K3DC01.exchange.com). [06-05-2009 11:50:26.0856] [2] [ERROR] Database is mandatory on UserMailbox. Property Name: Database. [06-05-2009 11:50:26.0950] [2] Ending processing. [06-05-2009 11:50:26.0950] [1] The following 1 error(s) occurred during task execution: [06-05-2009 11:50:26.0950] [1] 0.  ErrorRecord: Database is mandatory on UserMailbox. Property Name: Database. [06-05-2009 11:50:26.0950] [1] 0.  ErrorRecord: Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox. Property Name: Database. at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties) at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.Link() at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord() [06-05-2009 11:50:26.0950] [1] [ERROR] The execution of: "$error.Clear(); if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) ) { Update-RmsSharedIdentity -ServerName $RoleNetBIOSName }", generated the following error: "Database is mandatory on UserMailbox. Property Name: Database.". [06-05-2009 11:50:26.0950] [1] [ERROR] Database is mandatory on UserMailbox. Property Name: Database. [06-05-2009 11:50:26.0981] [1] [WARNING] <<< Setup failed to execute a task.

Additionally, you see the following events in the Application log:
Log Name:      Application Source:        MSExchange Configuration Cmdlet - Management Console Date:          6/5/2009 5:24:29 PM Event ID:      4 Task Category: (1) Level:         Error Keywords:      Classic User:          N/A Computer:      computer.exchange.com Description: The description for Event ID 4 from source MSExchange Configuration Cmdlet - Management Console cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: 2092 29 Install-MailboxRole 0 Microsoft.Exchange.Management.Deployment.ScriptExecutionException: The execution of: "$error.Clear(); if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) ) { Update-RmsSharedIdentity -ServerName $RoleNetBIOSName }", generated the following error: "Database is mandatory on UserMailbox. Property Name: Database.". ---> Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox. Property Name: Database. at Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties) at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.Link() at Microsoft.Exchange.Management.Deployment.UpdateRmsSharedIdentity.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord() --- End of inner exception stack trace --- {b85a6f1e-9875-4e2d-895c-3c1b93c53cbc}
Log Name:      Application Source:        MSExchangeSetup Date:          6/5/2009 5:24:30 PM Event ID:      1002 Task Category: (1) Level:         Error Keywords:      Classic User:          N/A Computer:      computer.exchange.com Description: The description for Event ID 1002 from source MSExchangeSetup cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: Mailbox Role Error: The execution of: "$error.Clear(); if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) ) { Update-RmsSharedIdentity -ServerName $RoleNetBIOSName }", generated the following error: "Database is mandatory on UserMailbox. Property Name: Database.". Database is mandatory on UserMailbox. Property Name: Database.

Cause


This problem occurs because the federated built-in e-mail account that links to the computer account no longer exists. Or, the federated built-in e-mail account in the Active Directory directory service is corrupted.

Resolution


To resolve this problem, follow these steps:
  1. Remove the FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 e-mail account by using the ADSIEDIT tool. To do this, follow these steps:
    1. Click Start, click
      Run, type adsiedit.msc, and then click
      OK.
    2. Locate the Default Naming Context node, and then locate to the CN=Users container.
    3. Locate and then right-click the CN=FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 container. Then, click Delete.
  2. Rerun the Exchange Server 2010 Mailbox role setup application.
  3. Create a new federated e-mail account by using the following command:
    New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>