Error when installing Exchange 2013 (in an existing Exchange 2010 environment)
During the setup of the mailbox role, the Exchange 2013 installation wizard returned the following error and halted...
[07/30/2015 16:32:29.0946] [1] The following error was generated when "$error.Clear();
if (!$RoleIsDatacenter -and !$RoleIsDatacenterDedicated)
{
$createNewOab = $false;
$oabName = $null;
$oabAddressList = $null;
$oabVdirs = $null;
$oabGlobalWebDistribution = $false;
$oabConfiguredAttributes = $null;
Write-ExchangeSetupLog -Info ("Looking for an existing default OAB");
$defaultOab = Get-OfflineAddressBook -DomainController:$RoleDomainController | where {$_.IsDefault};
if ($defaultOab -ne $null)
{
Write-ExchangeSetupLog -Info ("Found a default OAB: " + $defaultOab.Name + "; checking its version");
if ($defaultOab.ExchangeVersion.CompareTo([Microsoft.Exchange.Data.ExchangeObjectVersion]::Exchange2012) -lt 0)
{
$e15Oab = Get-OfflineAddressBook -DomainController:$RoleDomainController | where {$_.ExchangeVersion.CompareTo([Microsoft.Exchange.Data.ExchangeObjectVersion]::Exchange2012) -eq 0};
if ($e15Oab -eq $null)
{
Write-ExchangeSetupLog -Info ("Existing OAB is Exchange 2010 or older; will create a new OAB");
$createNewOab = $true;
$oabName = $defaultOab.Name + " (Ex2013)";
$oabAddressList = $defaultOab.AddressLists;
$oabGlobalWebDistribution = $defaultOab.GlobalWebDistributionEnabled;
$oabConfiguredAttributes = $defaultOab.ConfiguredAttributes;
}
else
{
Write-ExchangeSetupLog -Info ("Already has an existing Exchange 2013 OAB:" + $e15Oab.Name + "; will not create a new OAB");
}
}
else
{
Write-ExchangeSetupLog -Info ("Existing OAB is Exchange 2013 or newer; will not create a new OAB");
}
}
else
{
Write-ExchangeSetupLog -Info ("Did not find a default OAB; will create one");
$createNewOab = $true;
$oabName = [Microsoft.Exchange.Data.Directory.SystemConfiguration.OfflineAddressBook]::DefaultName;
$nonDefaultOabWithDefaultName = Get-OfflineAddressBook $oabName -DomainController:$RoleDomainController -ErrorAction SilentlyContinue | where {$_.IsDefault -eq $false};
if ($nonDefaultOabWithDefaultName -ne $null)
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Offline address book " + `
$nonDefaultOabWithDefaultName.Name + `
" already exists: " + `
$nonDefaultOabWithDefaultName.DistinguishedName + `
". Use administrative tools to change it to default OAB.");
}
$allGals = @(Get-GlobalAddressList -DomainController:$RoleDomainController | where {$_.IsDefaultGlobalAddressList});
if ($allGals -eq $null -or $allGals.Count -eq 0)
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Couldn't find the default global address list. The default offline address book can't be created.");
}
elseif ($allGals.Count -gt 1)
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Found " + $allGals.Count + " default global address lists. You can have only one default global address list in your organization. The default offline address book will not be created.");
We do have two global address lists. One is named Default Global Address List and the other is Company Name Addresses.
I am not able to browse/edit our public folders using the Public Folder Management Console for some reason. It indicates it is not connected to a server, and I cannot manually connect to either of our two Exch 2010 HT/CAS/MB servers.
Exchange
Last Comment
Ogandos
8/22/2022 - Mon
Ogandos
Do you have more than one Global Address List as default?
If this is the case, Let's ensure that just one appears showing "True". If not, we will set it for having just one default GAL
MatthewDK
ASKER
The Default Global Address List comes back as True while the other comes back as False.
Ogandos
Which ones are the names? and how many?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
MatthewDK
ASKER
Here's what the output of the command you suggested I use is...
Name : Default Global Address List
IsDefaultGlobalAddressList : True
Name : Company Name Addresses
IsDefaultGlobalAddressList : False
Ogandos
Let's allow that Exch 2013 creates its OAB using its default name. In this case we can rename the one used for Exch 2010 at the moment.
You can change this name with the following command let in EMS:
Set-OfflineAddressBook "Default Global Address List" -Name "Default Global Address List 2010"
MatthewDK
ASKER
We do not have an OfflineAddressBook named Default Global Address List. I've attached the output from the command Get-OfflineAddressBook | fl. In that file, OAB2 is the offline address book that is assigned to our mailbox databases. OfflineAddressList-output-2.txt
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
No mailbox databases were referring to the first OAB, so it has been deleted. Do any services need to be restarted prior to attempting to resume the 2013 installation?
MatthewDK
ASKER
Deleting the Offline Address Book that was pointing to a deleted public folders database allowed me to continue with the installation.
Ogandos
Great
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
Please, execute the following commandlet in EMS:
Get-GlobalAddressList | Format-List Name,IsDefaultGlobalAddres
If this is the case, Let's ensure that just one appears showing "True". If not, we will set it for having just one default GAL