Having error when Installing Exchange 2k10
In my lab, I've 2 PC:
Pc1: Domain Controller
PC2: Exchange PC( point to PC 1)
When I install exchange 2 k10 in PC2, I met an error as follow:
Summary: 11 item(s). 9 succeeded, 1 failed.
Elapsed time: 00:13:39
Preparing Setup
Completed
Elapsed Time: 00:00:00
Stopping Services
Completed
Elapsed Time: 00:00:01
Copy Exchange Files
Completed
Elapsed Time: 00:01:12
Language Files
Completed
Elapsed Time: 00:02:54
Restoring services
Completed
Elapsed Time: 00:00:15
Languages
Completed
Elapsed Time: 00:00:01
Management Tools
Completed
Elapsed Time: 00:00:11
Hub Transport Role
Completed
Elapsed Time: 00:03:31
Client Access Role
Completed
Elapsed Time: 00:02:45
Mailbox Role
Failed
Error:
The following error was generated when "$error.Clear();
if ($RoleIsDatacenter -ne $true)
{
if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
# upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.
get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController
$name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
$dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
$mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if($dbs.Length -ne 0)
{
$mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($mbxUser.Length -ne 0)
{
enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Search Mailbox because of insufficient permission."
}
}
" was run: "Database is mandatory on UserMailbox. Property Name: Database".
Database is mandatory on UserMailbox. Property Name: Database
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e=ms.exch.err.Ex88D115&l=0&cl=cp
Error:
The following error was generated when "$error.Clear();
if ($RoleIsDatacenter -ne $true)
{
if (test-ExchangeServersWriteAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue)
{
# upgrade the discovery mailboxes to R5 version, this will fix the RecipientDisplayType property of the discovery mailbox which was wrong in R4.
get-mailbox -RecipientTypeDetails DiscoveryMailbox -DomainController $RoleDomainController | where {$_.IsValid -eq $false} | set-mailbox -DomainController $RoleDomainController
$name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
$dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
$mbxs = @( get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1 );
if ( $mbxs.length -eq 0)
{
$dbs = @(get-MailboxDatabase -Server:$RoleFqdnOrName -DomainController $RoleDomainController);
if($dbs.Length -ne 0)
{
$mbxUser = @(get-user -Filter {name -eq $name} -IgnoreDefaultScope -ResultSize 1);
if ($mbxUser.Length -ne 0)
{
enable-mailbox -Discovery -identity $mbxUser[0] -DisplayName $dispname -database $dbs[0].Identity;
}
}
}
}
else
{
write-exchangesetuplog -info "Skipping creating Discovery Search Mailbox because of insufficient permission."
}
}
" was run: "Database is mandatory on UserMailbox. Property Name: Database".
Database is mandatory on UserMailbox. Property Name: Database
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&e=ms.exch.err.Ex88D115&l=0&cl=cp
Elapsed Time: 00:02:45
Finalizing Setup
Cancelled
Could you help me troulbshoot this issue ?
Thanks,
October 27th, 2012 9:02am
Setup is failing while it's working on the Discovery Search Mailbox.
Open Active Directory users and computers and delete the User Object whose display name starts with "DiscoverySearch" and resume the setup and it should be successful.
Once setup is complete, run setup.com /p to recreate the Discovery Search.
Once created Run the Command below to enable the Discovery Search Mailbox:
Get-User Discovery* | Enable-Mailbox "UserLogonName of Discovery Search Mailbox" -Discovery -Database "Your Mailbox Database Name"
M.P.K ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ This Information is provided is "AS IS" and confers NO Rights!!~~ Please remember to click Vote As Helpful" if it really helps and "Mark as Answer if it answers your question, Unmark as Answer if a marked
post does not actually answer your question.
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2012 9:39am
Hi,cuocdoi,
Did you already run setup.com /prepareschema, setup.com /preparead, and setup.com /pad?
Did you at any time delete the original DB which would have been created when this box was first installed and not moved these mailboxes to another DB?
Check the following old threads to see if the solutions also work for you
http://social.technet.microsoft.com/Forums/en-US/exchangesvrgenerallegacy/thread/61690413-521b-4628-96f9-77b5e421aa47/
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/10ad4a1e-3108-4016-85cc-8e679e2e8fc9/
Regards,
SharonSharon Shen
TechNet Community Support
************************************************************************************************************************
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question.
October 29th, 2012 4:43am