Solved

prepareAD fails

Posted on 2011-03-03
4
1,169 Views
Last Modified: 2012-05-11
I have a root domain that contains domain controllers and a child domain that contains all other network objects including my Exchange 2003 server. When try to prepare the topology for an Exchange 2010 upgrade the "setup /p /on:<org name> fails with the following:

Organization Preparation         ......................... FAILED
     The following error was generated when "$error.Clear(); $acceptedDomains =
@{}; Get-AcceptedDomain | foreach { $domainName = $_.DomainName.ToString(); if (
$acceptedDomains.Contains($domainName)) { Write-ExchangeSetupLog -Warning "Dupli
cate AcceptedDomain found. '$($acceptedDomains[$domainName])' and '$($_.Name)' b
oth reference domain '$domainName'"; } else { $acceptedDomains.Add($domainName,
$_.Name); }; }; function getSmtpTemplates ([string]$property) { $input | Select-
Object -ExpandProperty $property | Where-Object {$_.PrefixString -eq "SMTP"} | F
oreach-Object {$_.AddressTemplateString -replace ".*@", ""}; } function addDomai
ns ([Microsoft.Exchange.Data.Directory.SystemConfiguration.AcceptedDomainType]$d
omainType) { $domain = $null; $input | Where-Object {-not $acceptedDomains.Conta
insKey($_)} | Where-Object {[Microsoft.Exchange.Data.SmtpDomainWithSubdomains]::
TryParse($_, [ref] $domain)} | Foreach-Object { $name = $domain.ToString(); if (
$name.Length -gt 64) { $name = $name.Substring(0, 64) }; if ($acceptedDomains.Co
ntainsValue($name) ) {$name = [System.Guid]::NewGuid().ToString()}; new-Accepted
Domain -Name:$name -DomainName:$domain -DomainType:$domainType; $acceptedDomains
[$domain.ToString()] = $name; }; } $emailAddressPolicies = Get-EmailAddressPolic
y; $emailAddressPolicies | getSmtpTemplates "NonAuthoritativeDomains" | addDomai
ns "InternalRelay"; $emailAddressPolicies | getSmtpTemplates "EnabledEmailAddres
sTemplates" | addDomains "Authoritative";" was run: "The e-mail address policy o
bject must have exactly one primary e-mail address with the prefix "GWISE". Prop
erty Name: ".

I previously ran the setup /pl on both domains successfully and the /ps on the schema master. I tired to manually run the PrepareAll Domains, but got an error says that PrepareAD had not yet been run.

The only thing I noted in the error was the message about "duplicate AcceptedDomain found". Any ideas?
0
Comment
Question by:J-Kent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:J-Kent
ID: 35032911
Note: and yes, of course, there are multiple DC's in the child domain as well.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 35036032
open exchange 2003 management console go to recipient policies

edit your reciepient policies you have 2 or more with GWISE delete them and keep only one
0
 

Author Comment

by:J-Kent
ID: 35036773
That did it. thanks
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35036785
Thanks for the updates and the points
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question