安装Exchange 2010 时报错"UserMailbox 必须强制使用 Database"
故障描述:

在原有Exchange Server 2010 SP1的环境安装新的服务器上报"UserMailbox 必须强制使用 Database。 属性名称: Database"错,详细如下:
错误:
运行"$error.Clear();
         if ( ($server -eq $null) -and ($RoleIsDatacenter -ne $true) )
         {
           Update-RmsSharedIdentity -ServerName $RoleNetBIOSName
         }
       "时生成以下错误:"UserMailbox 必须强制使用 Database。 属性名称: Database"。

UserMailbox 必须强制使用 Database。 属性名称: Database


微软帮助中的描述如下:

当您尝试安装 Microsoft Exchange Server 2010年邮箱角色时,安装过程可能会失败。发生此问题时,Exchange 安装程序日志中收到以下错误消息:

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.InternalProce***ecord()   at Microsoft.Exchange.Configuration.Tasks.Task.Proce***ecord()[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.


此外,您会看到以下事件在应用程序日志中:

Log Name:      ApplicationSource:        MSExchange Configuration Cmdlet - Management ConsoleDate:          6/5/2009 5:24:29 PMEvent ID:      4Task Category: (1)Level:         ErrorKeywords:      ClassicUser:          N/AComputer:      computer.exchange.comDescription: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: 209229Install-MailboxRole0Microsoft.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.InternalProce***ecord()   at Microsoft.Exchange.Configuration.Tasks.Task.Proce***ecord()   --- End of inner exception stack trace ---{b85a6f1e-9875-4e2d-895c-3c1b93c53cbc}
Log Name:      ApplicationSource:        MSExchangeSetupDate:          6/5/2009 5:24:30 PMEvent ID:      1002Task Category: (1)Level:         ErrorKeywords:      ClassicUser:          N/AComputer:      computer.exchange.comDescription: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 RoleError: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.


解决方案:
1.使用Adsiedit删除FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042,
2.在Exchange Management Shell中使用以下命令然后重建一个。
New-Mailbox -Arbitration -Name FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042 -UserPrincipalName FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042@<Default_Accepted_Domain>

本文出自 “周平的微软统一沟通” 博客,请务必保留此出处http://1183839.blog.51cto.com/1173839/1182818