Memorise

Mailbox Role Failed Error: The following error was generated when

Summary: 3 item(s). 1 succeeded, 1 failed. Elapsed time: 00:26:00 Preparing Setup Completed Elapsed Time: 00:00:10 Mailbox Role Failed Error: The following error was generated when “$error.Clear();
$name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
$dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
$dismbx = get-mailbox -Filter {name -eq $name} – IgnoreDefaultScope -resultSize 1;
if( $dismbx -ne $null)
{
$srvname = $dismbx.ServerName;
if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like “$srvname.*” )
{
Write-ExchangeSetupLog -info “Setup DiscoverySearchMailbox Permission.”;
$mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
if( $mountedMdb -eq $null )
{
Write-ExchangeSetupLog -info “Mounting database before stamp DiscoverySearchMailbox Permission…”;
mount-database $dismbx.Database;
}

$mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
if( $mountedMdb -ne $null )
{
$dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagementWkGuid;
$dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
if( $dmRoleGroup -ne $null )
{
Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
}
}
}
}
” was run: “Couldn’t mount the database that you specified. Specified database: Mailbox Database 0530853962; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database ‘Mailbox Database 0530853962’. Error: Could not find a part of the path ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0530853962’. [Database: Mailbox Database 0530853962, Server: MAIL-SRV-EXCH.mailleisureplc.com].”. Couldn’t mount the database that you specified. Specified database: Mailbox Database 0530853962; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database ‘Mailbox Database 0530853962’. Error: Could not find a part of the path ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0530853962’. [Database: Mailbox Database 0530853962, Server: MAIL-SRV-EXCH.mailleisureplc.com]. An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: An error occurred while preparing to mount database ‘Mailbox Database 0530853962’. Error: Could not find a part of the path ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0530853962’. [Database: Mailbox Database 0530853962, Server: MAIL-SRV-EXCH.mailleisureplc.com] An Active Manager operation failed with a transient error. Please retry the operation. Error: An error occurred while preparing to mount database ‘Mailbox Database 0530853962’. Error: Could not find a part of the path ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0530853962’. [Server: MAIL-SRV-EXCH.mailleisureplc.com] An error occurred while preparing to mount database ‘Mailbox Database 0530853962’. Error: Could not find a part of the path ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0530853962’. Could not find a part of the path ‘C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0530853962’. 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:25:50 Finalizing Setup Cancelled

 

SOLUTION: 
Check the output of ‘get-mailboxdatabase |fl’ and any events in event viewer. Does the folder exchange 2010 exists alongwith subfolders, if not can you create it manually

Make sure that all folders exist that are given with the error and re-created it by hand, then run the setup again this will complete the Mailbox role install. (THIS WORKED FOR ME)
In my error above the folder ‘Mailbox Database 0530853962’ didn’t exist in C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\ just created a new folder called ‘Mailbox Database 0530853962’ and re-run the installer for mailbox role install and that worked.

OR

1: Remove the Database from EMC and if you are not able to remove it than. 2: Go to Adsiedit.msc…>Configuration…>Services…>Microsoft Exchange…>ORG…>First Admin Group…>Exchange Admin Group…>Database…> Check the name “Mailbox Database 0530853962” and delete it. After deleting it from here open EMC and you should not get that error message.


Categorised as: Exchange, Microsoft


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.