Exchange database will not mount: JET error -1216 attached database mismatch
Resolved Email & Outlook
TG
Trevor Gibson
November 18, 2026
4 replies
88 views
Reviewed by moderators
3 participants

My database will not mount after a restore. The log says JET_errAttachedDatabaseMismatch -1216. What is wrong?

Accepted answer
Marked as the solution to this question

Error -1216 means the database file does not match the log files. This happens after a restore, a manual file copy or when an old log set was used. Steps:

1. Check the header with eseutil /mh and look at the state and the required logs.
2. If the state is Dirty Shutdown, make sure all required log files are in the log folder and start soft recovery with eseutil /r.
3. If the logs are missing, restore the correct logs from the backup, or restore the database from backup again.
4. Do not mix a database file from one day with logs from another.

Mount the database after the state is Clean Shutdown.

The state was Dirty Shutdown and logs were from an older day. Restored the correct logs and it mounted.

Good. Keep database and log files together in your restore notes so this does not repeat.

Noted.