Cannot create an empty store in Exchange 2010
Posted on 2011-09-16
I am migrating from SBS2003 to SBS2010 and have been using Jeff Middleton's swing migration. i.e. 'Swing' AD and exchange to a temp server and then from the temp server to the new one, retaining all settings, namspaces, server name etc of the old server. Which has been an excellent and detailed process.
I had got to the point where all user accounts and mailboxes were sitting on the new server.
I have logged onto the new server (sat in an isolated network with the temp server) with a test PC and accessed Outlook, file shares etc successfully.
So far so good.
Now I need to reset the new and temp server back to the point when I copied the mailstore databases from SBS2003 to temp server.
To do this I need to dismount and delete the 'full' mailbox database sat on Exchange 2010 and then mount on the empty Mailbox Database folder to create a new empty .edb file and log folder, which I'll replicate back to the temp server and I'm ready for the 'live' migration (planned for this weekend!)
Stopped Exchange 2010 Services and Dismount/Delete go ok, the mailbox database.edb file and the log folder gone (an empty Mailbox Database 2011083013 Folder).
Here is my problem:
In Exchange Console I try to Mount the mailbox database on the EMPTY mailbox database folder and I get the following error:
Microsoft Exchange Error
Failed to mount database 'Mailbox Database 2011083013'.
Mailbox Database 2011083013
Couldn't mount the database that you specified. Specified database: Mailbox Database 2011083013; Error code: An Active Manager operation failed. Error: The database action failed. Error: The mount operation is being prevented for database 'Mailbox Database 2011083013' because its database file at 'D:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 2011083013\Mailbox Database 2011083013.edb' is missing, but still has transaction log files, with the highest generation number being 0xbaa2. Please either recover the database file from a backup, or remove the log files if your intention is to mount a newly-created empty database.. [Database: Mailbox Database 2011083013, Server: SBS1.ourdomain.co.uk].
But the folder is definately empty.
And I had stopped the Exchange services before I dismounted.
I can remount the original 'full' mailbox database back onto Exchange ok. But each time I go through the process I get the same error.
Has anybody had this problem and resolved it?
Has anyone tried the mount-database cmdlet with the -force parameter to do what I require?
If I try the -force parameter (I'm getting desperate now, time running out!) would the syntax from the information above be:
Mount-Database -Identity SBS1.mydomain.co.uk\Mailbox Database 2011083013 -force
A bit long-winded, sorry
Thanks for your time