none
Error while installing exchange server 2016 cu4. RRS feed

  • Question

  • Hi Friends,

    I faced an error while i was installing Exchange server 2016 cu4 in Hyper-V. In this org has another existing exchange server 2013. I run all prerequisite process and run Setup.exe. when it goes step 10 (Mailbox role: Mailbox Services) out of 14, it shows following an error: 

    Error:

    Error:
    The following error was generated when "$error.Clear(); 
              if ($RoleIsDatacenter -ne $true -and $RoleIsDatacenterDedicated -ne $true)
              {
              if (Test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
              {
              $sysMbx = $null;
              $name = "SystemMailbox{bb558c35-97f1-4cb9-8ff7-d53741dc928c}";
              $dispName = "Microsoft Exchange";
              Write-ExchangeSetupLog -Info ("Retrieving mailboxes with Name=$name.");
              $mbxs = @(Get-Mailbox -Arbitration -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1 );
              if ($mbxs.Length -eq 0)
              {
              Write-ExchangeSetupLog -Info ("Retrieving mailbox databases on Server=$RoleFqdnOrName.");
              $dbs = @(Get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
              if ($dbs.Length -ne 0)
              {
              Write-ExchangeSetupLog -Info ("Retrieving users with Name=$name.");
              $arbUsers = @(Get-User -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
              if ($arbUsers.Length -ne 0)
              {
              Write-ExchangeSetupLog -Info ("Enabling mailbox $name.");
              $sysMbx = Enable-Mailbox -Arbitration -Identity $arbUsers[0] -DisplayName $dispName -database $dbs[0].Identity;
              }
              }
              }
              else
              {
              if ($mbxs[0].DisplayName -ne $dispName )
              {
              Write-ExchangeSetupLog -Info ("Setting DisplayName=$dispName.");
              Set-Mailbox -Arbitration -Identity $mbxs[0] -DisplayName $dispName -Force;
              }
              $sysMbx = $mbxs[0];
              }

              # Set the Organization Capabilities needed for this mailbox
              if ($sysMbx -ne $null)
              {
              # We need 1 GB for uploading large OAB files to the organization mailbox
              Write-ExchangeSetupLog -Info ("Setting mailbox properties.");
              set-mailbox -Arbitration -identity $sysMbx -UMGrammar:$true -OABGen:$true -GMGen:$true -ClientExtensions:$true -MailRouting:$true -MessageTracking:$true -PstProvider:$true -MaxSendSize 1GB -Force;

              Write-ExchangeSetupLog -Info ("Configuring offline address book(s) for this mailbox");
              Get-OfflineAddressBook | where {$_.ExchangeVersion.CompareTo([Microsoft.Exchange.Data.ExchangeObjectVersion]::Exchange2012) -ge 0 -and $_.GeneratingMailbox -eq $null} | Set-OfflineAddressBook -GeneratingMailbox $sysMbx.Identity;
              }
              else
              {
              Write-ExchangeSetupLog -Info ("Cannot find arbitration mailbox with name=$name.");
              }
              }
              else
              {
              Write-ExchangeSetupLog -Info "Skipping creating E15 System Mailbox because of insufficient permission."
              }
              }
            " was run: "Microsoft.Exchange.Data.DataValidationException: Database is mandatory on UserMailbox.
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCacheableItem`1.TryRunADOperation(ADOperation operation, Boolean throwExceptions)
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCacheableItem`1.Initialize(OrganizationId organizationId, CacheNotificationHandler cacheNotificationHandler, Object state)
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCache`1.InitializeAndAddPerTenantSettings(OrganizationId orgId, Boolean allowExceptions, TSettings& perTenantSettings, Object state)
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCache`1.TryGetValue(OrganizationId orgId, Boolean allowExceptions, TSettings& perTenantSettings, Boolean& hasExpired, Object state)
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.TenantConfigurationCache`1.GetValue(OrganizationId orgId)
       at Microsoft.Exchange.Management.RecipientTasks.GetMailbox.ConvertDataObjectToPresentationObject(IConfigurable dataObject)
       at Microsoft.Exchange.Configuration.Tasks.GetRecipientObjectTask`2.WriteResult(IConfigurable dataObject)
       at Microsoft.Exchange.Configuration.Tasks.GetTaskBase`1.WriteResult[T](IEnumerable`1 dataObjects)
       at Microsoft.Exchange.Configuration.Tasks.GetTaskBase`1.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.GetObjectWithIdentityTaskBase`2.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.GetRecipientObjectTask`2.InternalProcessRecord()
       at Microsoft.Exchange.Management.RecipientTasks.GetRecipientWithAddressListBase`2.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__c()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".


    how can i resolve this error. why i am facing this error.

    thanks all for helping me.

    Regards

    Rasel Ahmed.


    Wednesday, February 15, 2017 6:57 AM

All replies

  • Hi Rasel,

    The root cause could be that the Arbitration Mailboxes in Exchange Server 2013 aren’t available.

    Try the following steps to resolve this issue:

    1. Run the following command on Exchange 2013:

    Get-Mailbox –Arbitration | Select Name,Database

    2. Use the following command to reallocate any disconnected mailboxes (those ones that are shown in yellow are corrupted and they don’t have a valid Mailbox Database assigned to them) to a valid Mailbox Database:

    Set-Mailbox ‘<Mailbox>’ –Database <Database-in-Exchange-Server-2013> –Arbitration

    3. Run step 1 to check if all arbitration mailboxes have repaired.

    4. Install Exchange 2016 again.

    Hope it helps,

    Best Regards,


    Niko Cheng
    TechNet Community Support


    Please remember to mark the replies as answers.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, February 16, 2017 10:01 AM
    Moderator
  • Thank you.
    Thursday, February 23, 2017 9:22 AM
  • Hi Rasel,

    You're welcome.

    BTW, do you mind mark my reply as an answer? this will make answer searching in the forum easier and be beneficial to other community members as well. 

    Thanks for your understanding.

    Best Regards,



    Niko Cheng
    TechNet Community Support


    Please remember to mark the replies as answers.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, February 23, 2017 9:49 AM
    Moderator
  • Hi Niko,

    I think this is right answer. when i ran this command and again ran setup then i got another error. So this is not actual ans.

    Thanks

    Rasel


    Rasel

    Saturday, February 25, 2017 8:13 AM
  • Hi Rasel,

    What's the detailed error you got?

    In general, in order to avoid confusion and keep track of troubleshooting steps, we usually troubleshoot one issue per thread in order to find a resolution efficiently. If the new error is not directly related to the original issue, it would be better to open up a new thread for the new question and mark the helpful answer in this thread to close it.

    Thanks for your understanding.

    Best Regards,


    Niko Cheng
    TechNet Community Support


    Please remember to mark the replies as answers.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, February 28, 2017 9:13 AM
    Moderator