{"id":2859,"date":"2017-10-05T11:13:43","date_gmt":"2017-10-05T11:13:43","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=2859"},"modified":"2017-10-05T11:13:43","modified_gmt":"2017-10-05T11:13:43","slug":"554-5-2-0-storedrv-deliver-exceptionstoragepermanentexception-mapiexceptioncallfailed-failed-to-process-message-due-to-a-permanent-exception-with-message-cannot-open-mailbox","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/554-5-2-0-storedrv-deliver-exceptionstoragepermanentexception-mapiexceptioncallfailed-failed-to-process-message-due-to-a-permanent-exception-with-message-cannot-open-mailbox","title":{"rendered":"554 5.2.0 STOREDRV.Deliver.Exception:StoragePermanentException.MapiExceptionCallFailed; Failed to process message due to a permanent exception with message Cannot open mailbox"},"content":{"rendered":"<p>Recently had an SBS2011 Server with Exchange 2010 bring up SMTP Errors of<\/p><p><strong>554 5.2.0 STOREDRV.Deliver.Exception:StoragePermanentException.MapiExceptionCallFailed; Failed to process message due to a permanent exception with message Cannot open mailbox<\/strong><\/p><p>The DB was mounted fine and I could create new users<\/p><p>Mapi would not connect via Outlook\u00a0<\/p><p>Opening the mailbox in OWA would bring :\u00a0<\/p><p><strong>Exception<\/strong><br \/><strong>Exception type: Microsoft.Exchange.Data.Storage.StoragePermanentException<\/strong><br \/><strong>Exception message: Cannot query rows in a table.<\/strong><\/p><p>This was for all users<\/p><p>In the end I had to\u00a0<\/p><p>Dismount DB<\/p><p>eseutil \/p &#8220;C:\\Program Files\\Microsoft\\Exchange Server\\V14\\Mailbox\\Mailbox Database\\Mailbox Database.edb&#8221;<\/p><p>You can try mounting the database. If it mounts, you are good to go, if it doesn&#8217;t you have to check the logs:<\/p><h3>Check and Repair the database logs<\/h3><p><strong>2.<\/strong>\u00a0Check the exchange logs (don&#8217;t forget to specify\u00a0<strong>E00<\/strong>\u00a0&#8211; the starting sequence for the logs)<\/p><p>eseutil \/ml &#8220;C:\\Program Files\\Microsoft\\Exchange Server\\V14\\Mailbox\\Mailbox Database\\E00&#8221;<\/p><p><strong>2.a<\/strong>\u00a0There will be a list of logs and depending on their state, you may get an error. (They should all say\u00a0<strong>OK<\/strong>, if the logs are clean) Errors vary, but most likely it is a file corruption and needs a chkdsk to run.<\/p><p>As a sidenote, if the database state is\u00a0<strong>Clean Shutdown<\/strong>\u00a0you can safely remove the logs.<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently had an SBS2011 Server with Exchange 2010 bring up SMTP Errors of554 5.2.0 STOREDRV.Deliver.Exception:StoragePermanentException.MapiExceptionCallFailed; Failed to process message due to a permanent exception with message Cannot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2133,2135,520,2134],"class_list":["post-2859","post","type-post","status-publish","format-standard","hentry","category-random","tag-554-5-2-0-storedrv-deliver-exceptionstoragepermanentexception-mapiexceptioncallfailed","tag-exception-type-microsoft-exchange-data-storage-storagepermanentexception","tag-exchange-2010","tag-sbs11"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=2859"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2859\/revisions"}],"predecessor-version":[{"id":2860,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2859\/revisions\/2860"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=2859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=2859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=2859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}