Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

prepareAD fails

Posted on 2011-03-03
4
Medium Priority
?
1,179 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 2000 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

Technology Partners: 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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

618 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