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


Exchnage 2007 mailbox store that will not mount, error 1216, MapiExceptionJetErrorAttachedDatabaseMismatch

Posted on 2010-08-17
Medium Priority
Last Modified: 2016-09-20
I'm working on a server that I have not maintained before that has a dismounted mailbox store in SBS 2008 (so it runs Exchange 2007).  When I try to mount the store, I get:

Exchange is unable to mount the database that you specified. Specified database: SOLAR1\First Storage Group\Mailbox Database; Error code: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216)

I've run an eseutil /p and an eseutil /d on the database.  I still get the same error.

If I run eseutil /mh, I get this:

Extensible Storage Engine Utilities for Microsoft(R) Exchange Server

Version 08.02

Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating FILE DUMP mode...
         Database: Mailbox Database.edb

        File Type: Database
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,12
 Engine ulVersion: 0x620,12
Created ulVersion: 0x620,12
     DB Signature: Create time:08/17/2010 22:17:57 Rand:1809907780 Computer:
         cbDbPage: 8192
           dbtime: 823693 (0xc918d)
            State: Clean Shutdown
     Log Required: 0-0 (0x0-0x0)
    Log Committed: 0-0 (0x0-0x0)
   Streaming File: No
         Shadowed: Yes
       Last Objid: 777
     Scrub Dbtime: 0 (0x0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 2
      Repair Date: 07/20/2010 23:25:34
 Old Repair Count: 2
  Last Consistent: (0x0,0,0)  08/17/2010 22:22:45
      Last Attach: (0x0,0,0)  08/17/2010 22:22:25
      Last Detach: (0x0,0,0)  08/17/2010 22:22:45
             Dbid: 1
    Log Signature: Create time:00/00/1900 00:00:00 Rand:0 Computer:
       OS Version: (6.0.6001 SP 1 NLS 500100.50100)

Previous Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Previous Incremental Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Previous Copy Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Previous Differential Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Shadow copy backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

     cpgUpgrade55Format: 0
    cpgUpgradeFreePages: 0
cpgUpgradeSpaceMapPages: 0

       ECC Fix Success Count: none
   Old ECC Fix Success Count: none
         ECC Fix Error Count: none
     Old ECC Fix Error Count: none
    Bad Checksum Error Count: none
Old bad Checksum Error Count: none

Operation completed successfully in 0.31 seconds.


If I run isinteg -s solar1 -fix -test alltests, it returns:

Databases for server solar1:
Only databases marked as Offline can be checked

Index  Status       Database-Name
Storage Group Name: First Storage Group
  1    Offline      Mailbox Database
Storage Group Name: Second Storage Group
  2    Offline      Public Folder Database
Enter a number to select a database or press Return to exit.
You have selected First Storage Group / Mailbox Database.
Isinteg cannot initiate verification process.

In the event log, I see this after I run "isinteg -s solar1 -fix -test alltests":

event id 494:
MSExchangeIS (2092) First Storage Group: Database recovery failed with error -1216 because it encountered references to a database, 'D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb', which is no longer present. The database was not brought to a Clean Shutdown state before it was removed (or possibly moved or renamed). The database engine will not permit recovery to complete for this instance until the missing database is re-instated. If the database is truly no longer available and no longer required, procedures for recovering from this error are available in the Microsoft Knowledge Base or by following the "more information" link at the bottom of this message.

event id 454:
MSExchangeIS (2092) First Storage Group: Database recovery/restore failed with unexpected error -1216.

event id 9518:
Error 0xfffffb40 starting Storage Group /DC=local/DC=domain/CN=Configuration/CN=Services/CN=Microsoft Exchange/CN=First Organization/CN=Administrative Groups/CN=Exchange Administrative Group (FYDIBOHF23SPDLT)/CN=Servers/CN=SOLAR1/CN=InformationStore/CN=First Storage Group on the Microsoft Exchange


Here's what I think I'm seeing - the database isn't mounted because Exchange seems to think the database isn't in the proper folder (see event id 494 above).  However, the database is clearly there.  See screen shot below.  Any ideas on what to try next?  I'm a rookie at Exchange database recovery.  Minus eseutil, I've never had to run anything really.
Question by:dmessman
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

Expert Comment

ID: 33461246
Please move all the other log files and folders from the database edb file location to another folder.
just keep only the .edb file and move all the log files to another folder and try mounting the stores.

Please check it out and revert back if you have any issues.

Accepted Solution

v_9mhdrf earned 2000 total points
ID: 33461271
And also please enable the option "This database can be overwritten by a restore".
It will be the properties of the mailbox store.
Please check that out and revert back if you have any issues.

Author Closing Comment

ID: 33468736
Damn - that was easy.  I removed all the log files and then checked the box to allow the database to be overwritten by a restore and voila, the mailbox store mounted.

Expert Comment

by:Duta Goodnews
ID: 41783641
I had exactly the same today and just by moving the log files and marking the database to be overwritten by  a restore does the magic.

Thank you so much. I really appreciate.

Expert Comment

ID: 41806043
I did the same steps as mention above and MY DATABASE mount and production  Exchange server working Fine now. Thanks a lot for the  for your informative  steps & procedure..

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
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…
Suggested Courses

636 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