Home > Exchange 2010 > Exchange 2010 error when adding or removing a database copy

Exchange 2010 error when adding or removing a database copy

If you have upgraded your DAG from Exchange 2010 RTM to SP1 you may find yourself in a position where you try and add or remove a database copy from a DAG member and you get the follow error.

[PS] C:\WINDOWS\system32>Add-MailboxDatabaseCopy -identity "MBX-0007" -mailboxServer "MBX01" -ActivationPreference 3
WARNING: An unexpected error has occurred and a Watson dump is being generated: Registry key has subkeys and recursive removes
are not supported by this method.
Registry key has subkeys and recursive removes are not supported by this method.
    + CategoryInfo          : NotSpecified: (:) [Add-MailboxDatabaseCopy], InvalidOperationException
    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Exchange.Management.SystemConfigurationTasks.AddMailboxDatabaseCopy

 

SNAGHTML1df4488

If you do find yourself in this position you can easily resolve this by removing the DumpsterInfo key for the database copy in the registry of the server you are trying to add or remove.

1.you need to establish the GUID of the database by running the below in a EMS session:

Get-MailboxDatabase MBX-007 | fl name,GUID

Which will return something like:

SNAGHTML20496ec

2. Then on the server where you are trying to either add or remove the copy open regedit and navigate to the path below and delete the DumpsterInfo key.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Replay\State\{DB-GUID}\DumpsterInfo

SNAGHTML201dd00

Advertisements
Categories: Exchange 2010

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: