e-itregister
asked on
Exchange 2013 Error Installing Step 10 of 12 Mailbox roles: Mailbox service
We are upgrading Exchange 2007 (08.03.0298.001) running on 2003 R2 x64 SP2 to Exchange 2013 SP1 on 2012 R2. We have currently host a number of different clients on this exchange server, when trying to install Exchange 2013 SP1 on the new server it gets the error below.
Error:
The following error was generated when "$error.Clear();
if (!$RoleIsDatacenter -and !$RoleIsDatacenterDedicate d)
{
$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:$RoleDom ainControl ler | where {$_.IsDefault};
if ($defaultOab -ne $null)
{
Write-ExchangeSetupLog -Info ("Found a default OAB: " + $defaultOab.Name + "; checking its version");
if ($defaultOab.ExchangeVersi on.Compare To([Micros oft.Exchan ge.Data.Ex changeObje ctVersion] ::Exchange 2012) -lt 0)
{
$e15Oab = Get-OfflineAddressBook -DomainController:$RoleDom ainControl ler | where {$_.ExchangeVersion.Compar eTo([Micro soft.Excha nge.Data.E xchangeObj ectVersion ]::Exchang e2012) -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.GlobalWebDistr ibutionEna bled;
$oabConfiguredAttributes = $defaultOab.ConfiguredAttr ibutes;
}
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.D irectory.S ystemConfi guration.O fflineAddr essBook]:: DefaultNam e;
$nonDefaultOabWithDefaultN ame = Get-OfflineAddressBook $oabName -DomainController:$RoleDom ainControl ler -ErrorAction SilentlyContinue | where {$_.IsDefault -eq $false};
if ($nonDefaultOabWithDefault Name -ne $null)
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Offline address book " + `
$nonDefaultOabWithDefaultN ame.Name + `
" already exists: " + `
$nonDefaultOabWithDefaultN ame.Distin guishedNam e + `
". Use administrative tools to change it to default OAB.");
}
$allGals = @(Get-GlobalAddressList -DomainController:$RoleDom ainControl ler | where {$_.IsDefaultGlobalAddress List});
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.");
}
else
{
$oabAddressList = $allGals[0];
Write-ExchangeSetupLog -Info ("OAB will be based on default GAL: " + $oabAddressList.Name);
}
}
if ($createNewOab)
{
if ($oabGlobalWebDistribution -eq $false)
{
$currentAdSiteDn = (Get-ExchangeServer $RoleFqdnOrName -DomainController:$RoleDom ainControl ler).Site. Distinguis hedName;
$allOabVdirs = @(Get-OabVirtualDirectory -ADPropertiesOnly -DomainController:$RoleDom ainControl ler);
$e15MinimumServerVersion = New-Object Microsoft.Exchange.Data.Se rverVersio n([Microso ft.Exchang e.Data.Dir ectory.Sys temConfigu ration.Ser ver]::E15M inVersion) ;
if ($allOabVdirs -ne $null -and $allOabVdirs.Count -gt 0)
{
foreach ($oabVdir in $allOabVdirs)
{
if ([Microsoft.Exchange.Data. ServerVers ion]::Comp are($oabVd ir.AdminDi splayVersi on, $e15MinimumServerVersion) -gt 0)
{
$oabVdirSiteDn = (Get-ExchangeServer $oabVdir.Server -DomainController:$RoleDom ainControl ler).Site. Distinguis hedName;
if ($oabVdirSiteDn -eq $currentAdSiteDn)
{
$oabVdirs = $oabVdir;
break;
}
elseif ($oabVdirs -eq $null)
{
$oabVdirs = $oabVdir;
}
}
}
}
if ($oabVdirs -ne $null)
{
Write-ExchangeSetupLog -Info ("OAB will be distributed to OAB virtual directory " + $oabVdirs.Name);
}
else
{
Write-ExchangeSetupLog -Info ("Could not find any OAB virtual directories; OAB will be configured without distribution.");
}
}
try
{
Write-ExchangeSetupLog -Info ("Creating new default OAB.");
$newOab = New-OfflineAddressBook `
-Name $oabName `
-AddressLists $oabAddressList `
-VirtualDirectories $oabVdirs `
-GlobalWebDistributionEnab led $oabGlobalWebDistribution `
-IsDefault $true `
-DomainController:$RoleDom ainControl ler;
}
catch [Microsoft.Exchange.Data.D irectory.A DObjectAlr eadyExists Exception]
{
Write-ExchangeSetupLog -Warning ("Tried to create new default OAB but the object already exists; it may have been created by another instance of setup.");
}
if ($oabConfiguredAttributes -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting OAB ConfiguredAttributes to: " + $oabConfiguredAttributes);
Set-OfflineAddressBook $newOab -ConfiguredAttributes $oabConfiguredAttributes -DomainController:$RoleDom ainControl ler;
}
}
}
" was run: "Address list or global address list "\Default Global Address List2" was not found. Please make sure you typed the identity correctly.".
Error:
The following error was generated when "$error.Clear();
if (!$RoleIsDatacenter -and !$RoleIsDatacenterDedicate
{
$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:$RoleDom
if ($defaultOab -ne $null)
{
Write-ExchangeSetupLog -Info ("Found a default OAB: " + $defaultOab.Name + "; checking its version");
if ($defaultOab.ExchangeVersi
{
$e15Oab = Get-OfflineAddressBook -DomainController:$RoleDom
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.GlobalWebDistr
$oabConfiguredAttributes = $defaultOab.ConfiguredAttr
}
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.D
$nonDefaultOabWithDefaultN
if ($nonDefaultOabWithDefault
{
$createNewOab = $false;
Write-ExchangeSetupLog -Warning `
("Offline address book " + `
$nonDefaultOabWithDefaultN
" already exists: " + `
$nonDefaultOabWithDefaultN
". Use administrative tools to change it to default OAB.");
}
$allGals = @(Get-GlobalAddressList -DomainController:$RoleDom
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.");
}
else
{
$oabAddressList = $allGals[0];
Write-ExchangeSetupLog -Info ("OAB will be based on default GAL: " + $oabAddressList.Name);
}
}
if ($createNewOab)
{
if ($oabGlobalWebDistribution
{
$currentAdSiteDn = (Get-ExchangeServer $RoleFqdnOrName -DomainController:$RoleDom
$allOabVdirs = @(Get-OabVirtualDirectory -ADPropertiesOnly -DomainController:$RoleDom
$e15MinimumServerVersion = New-Object Microsoft.Exchange.Data.Se
if ($allOabVdirs -ne $null -and $allOabVdirs.Count -gt 0)
{
foreach ($oabVdir in $allOabVdirs)
{
if ([Microsoft.Exchange.Data.
{
$oabVdirSiteDn = (Get-ExchangeServer $oabVdir.Server -DomainController:$RoleDom
if ($oabVdirSiteDn -eq $currentAdSiteDn)
{
$oabVdirs = $oabVdir;
break;
}
elseif ($oabVdirs -eq $null)
{
$oabVdirs = $oabVdir;
}
}
}
}
if ($oabVdirs -ne $null)
{
Write-ExchangeSetupLog -Info ("OAB will be distributed to OAB virtual directory " + $oabVdirs.Name);
}
else
{
Write-ExchangeSetupLog -Info ("Could not find any OAB virtual directories; OAB will be configured without distribution.");
}
}
try
{
Write-ExchangeSetupLog -Info ("Creating new default OAB.");
$newOab = New-OfflineAddressBook `
-Name $oabName `
-AddressLists $oabAddressList `
-VirtualDirectories $oabVdirs `
-GlobalWebDistributionEnab
-IsDefault $true `
-DomainController:$RoleDom
}
catch [Microsoft.Exchange.Data.D
{
Write-ExchangeSetupLog -Warning ("Tried to create new default OAB but the object already exists; it may have been created by another instance of setup.");
}
if ($oabConfiguredAttributes -ne $null)
{
Write-ExchangeSetupLog -Info ("Setting OAB ConfiguredAttributes to: " + $oabConfiguredAttributes);
Set-OfflineAddressBook $newOab -ConfiguredAttributes $oabConfiguredAttributes -DomainController:$RoleDom
}
}
}
" was run: "Address list or global address list "\Default Global Address List2" was not found. Please make sure you typed the identity correctly.".
ASKER
Hi, Please see below output. Thank you.
DC1 (2003 R2 x64 with Exchange 2007)
DC2 2012 R2 only has File and Print
[PS] C:\Documents and Settings\backup>Update-Glo balAddress List -Identity "Defaul
t Global Address List" -DomainController DC1
[PS] C:\Documents and Settings\backup>Update-Glo balAddress List -Identity "Defaul
t Global Address List" -DomainController DC2
[PS] C:\Documents and Settings\backup>Update-Glo balAddress List -Identity "Defaul
t Global Address List2" -DomainController DC1
Update-GlobalAddressList : The operation could not be performed because object
'Default Global Address List2' could not be found on domain controller 'DC1'.
At line:1 char:25
+ Update-GlobalAddressList <<<< -Identity "Default Global Address List2" -Doma
inController DC1
+ CategoryInfo : NotSpecified: (0:Int32) [Update-GlobalAddressLis
t], ManagementObjectNotFoundEx ception
+ FullyQualifiedErrorId : 5F7E9441,Microsoft.Exchang e.Manageme nt.SystemC on
figurationTasks.UpdateGlob alAddressL ist
[PS] C:\Documents and Settings\backup>Update-Glo balAddress List -Identity "Defaul
t Global Address List2" -DomainController DC2
Update-GlobalAddressList : The operation could not be performed because object
'Default Global Address List2' could not be found on domain controller 'DC2'.
At line:1 char:25
+ Update-GlobalAddressList <<<< -Identity "Default Global Address List2" -Doma
inController DC2
+ CategoryInfo : NotSpecified: (0:Int32) [Update-GlobalAddressLis
t], ManagementObjectNotFoundEx ception
+ FullyQualifiedErrorId : 41EE79E2,Microsoft.Exchang e.Manageme nt.SystemC on
figurationTasks.UpdateGlob alAddressL ist
[PS] C:\Documents and Settings\backup>
DC1 (2003 R2 x64 with Exchange 2007)
DC2 2012 R2 only has File and Print
[PS] C:\Documents and Settings\backup>Update-Glo
t Global Address List" -DomainController DC1
[PS] C:\Documents and Settings\backup>Update-Glo
t Global Address List" -DomainController DC2
[PS] C:\Documents and Settings\backup>Update-Glo
t Global Address List2" -DomainController DC1
Update-GlobalAddressList : The operation could not be performed because object
'Default Global Address List2' could not be found on domain controller 'DC1'.
At line:1 char:25
+ Update-GlobalAddressList <<<< -Identity "Default Global Address List2" -Doma
inController DC1
+ CategoryInfo : NotSpecified: (0:Int32) [Update-GlobalAddressLis
t], ManagementObjectNotFoundEx
+ FullyQualifiedErrorId : 5F7E9441,Microsoft.Exchang
figurationTasks.UpdateGlob
[PS] C:\Documents and Settings\backup>Update-Glo
t Global Address List2" -DomainController DC2
Update-GlobalAddressList : The operation could not be performed because object
'Default Global Address List2' could not be found on domain controller 'DC2'.
At line:1 char:25
+ Update-GlobalAddressList <<<< -Identity "Default Global Address List2" -Doma
inController DC2
+ CategoryInfo : NotSpecified: (0:Int32) [Update-GlobalAddressLis
t], ManagementObjectNotFoundEx
+ FullyQualifiedErrorId : 41EE79E2,Microsoft.Exchang
figurationTasks.UpdateGlob
[PS] C:\Documents and Settings\backup>
ASKER
Has anyone else had the problem, i have tried creating Default Global Address List2 but I got the same error.
Hi,
Please post the error information from ExchangeSetup Log.
Please post the error information from ExchangeSetup Log.
ASKER
My Apologies I was working in OAB and Not the Address Lists, I have also done some more research on the setup of the current Exchange and it is configured as per the attached document, in there the Address List is edited, I am worried if i create a new Address List that the independence will be lost. Please have a look at the attached and let me know if you have come across this situation before, thank you.
ASKER
Hi,
You provided a html file. Please provide us with screen shot to better understand.
You provided a html file. Please provide us with screen shot to better understand.
ASKER
Hi, The HTML page is what i had saved from this link, https://technet.microsoft.com/en-us/library/bb936719%28v=exchg.80%29.aspx
Please help me with snapshot of Address List.
Article does not related to current issue.
Article does not related to current issue.
ASKER
ASKER
Hi, I have attached the Logs file, Thank you.
ExchangeSetupLogs--2-.zip
ExchangeSetupLogs--2-.zip
ASKER
Hi, have you been able to review the screen prints and logs?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you ever find a solution. I have the same issue.
ASKER
there was no solution to this unfortuantely
Please execute below command on exchange 2007 shell and post the output:
Update-GlobalAddressList -Identity "Default Global Address List" -DomainController "YourDomainControllerName"
Update-GlobalAddressList -Identity "Default Global Address List2" -DomainController "YourDomainControllerName"