This Blog is a supplement to my website. Please also visit: www.DavidCocke.com

Thursday, April 19, 2012

Microsoft Exchange - Mail Store will not mount

Let me start this post by saying I am a complete NOOB when it comes to Microsoft Exchange.  I should also say I hate strongly dislike MS Exchange.  From an Administrative side it is so unintuitive. I am spoiled rotten by the MDaemon Mail Server; so much easier to troubleshoot issues.

One of my clients contacted me today because their email wasn't working.  The server had randomly rebooted overnight and now they cannot send or receive mail and they are getting errors when connecting via Outlook.

While looking through error logs and troubleshooting this issue, here are some of the messages I received:

  • Mail store is not available
  • exchange store is not mounted
  • database files in this store are corrupted
Guess I should also mention this is on a Windows Server 2003 for Small Business Server SP2.

How do you mount the Mail Store?

OK, so how the heck do you mount the mail store? As I said, I'm new at this.

Open System Manager
  • Click on START
  • All Programs
  • Microsoft Exchange
  • System Manager
Expand the tree
  • Go to Servers
  • The name of your server
  • First Storage Group
Right-click on the mail store(s) and choose Mount Store





It will not mount - says it is corrupted

In my case both the Mailbox Store and the Public Folder Store were off-line and when I tried to mount them I would get an obscure error.  Turns out both of these stores were corrupted.

I was finally able to fix it with the following command lines.  First of all open a CMD prompt and CD to this directory:  C:\Program Files\Exchsrvr\bin

Then execute this command:
eseutil /p "C:\Program Files\Exchsrvr\MDBDATA\priv1.edb"  - This is the Mailbox Store

and then execute this command:
eseutil /p "C:\Program Files\Exchsrvr\MDBDATA\pub1.edb"  - This is the Public Folder Store

After using the above commands I was able to mount the mail stores from the System Manager (above).  I also read several people saying, Oh be careful with the /p (recovery) as it could cause issues.  Instead try the /r (repair) option; but in my case the /r did no good at all.

Please also refer to these two documents:
 As always, hoping this helps someone else.  It'll probably be me, because I'll probably forget.


Wednesday, April 11, 2012

Office 2007 Excel Graph Data Missing on Print Jobs

A customer of mine had an issue with printing a monthly report from Excel that contains charts and graphs.  The data on the graph did not show on the print out, but it did show correctly when doing a Print Preview.

In their case, one of the pages contained four graphs on the page.  The odd thing is that when you print the worksheet two of the four graphs had data and the other two didn't.  This behavior also happened when printing to several different models of printers and even when printing to Adobe PDF.

The other oddity is that this same spreadsheet worked correctly for some of my users, while it didn't for others.

In the end I discovered this issue was isolated to those that had Microsoft Office 2007.  Those running Office 2003 were not affected.  Further I found this is caused by a Microsoft Patch that was issued in December 2011.  Removing this patch (KB2596596) corrected our issue.

This is what the graph looked like when it printed incorrectly:

This is how the graph is supposed to look:

Again, just remove the patch called KB2596596 (see highlighted below)


Note: Some of the machines were running MS Office 2007 Basic Edition and some were running MS Office 2007 Enterprise Edition.  Same patch for both.

As always I'm hoping this will help someone else fighting this issue.