Exchange Server 2010 – Export Message Tracking Log Results to CSV File

From inside of the Exchange Management Shell, here are a few examples of how to export the message tracking log results to a csv (comma separated value) file which is easily imported and manipulated in a spreadsheet application such as Microsoft Excel or Open Office Calc:

To display the date, time, recipients, and the message subject on all of the sent items from a mailbox between a given time period:
Continue reading “Exchange Server 2010 – Export Message Tracking Log Results to CSV File”

Exchange 2010 OWA – Remove Cached Email Recipients/Auto Complete Entries

If you have any Active Directory users that have been deleted out but the addresses still show up in OWA or if you changed somebody’s user/email attributes and emails bounce back as undeliverable, this article is for you. I found this info here, the entries are stored in the user’s mailbox so the you can only delete them by doing one of the following:

  1. Delete an entry from the list using OWA
    1. Login to mailbox via OWA
    2. Create a new meeting request (Has to be a meeting request only!)
    3. Begin typing the entry you want to delete until you see it in the Auto Complete list
    4. Continue reading “Exchange 2010 OWA – Remove Cached Email Recipients/Auto Complete Entries”

Exchange 2010 OWA – Can’t Delete Messages

Out of nowhere today I rebooted my Exchange server (that has been up and running for several years without problems) then users could no longer delete their messages – they would just receive an unfriendly message stating that “An unexpected error occurred and your request could not be handled”. The event log showed the following error every couple of seconds:

Event 3, System.ServiceModel 3.0.0.0

WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/20974680
 Exception: System.ServiceModel.ServiceActivationException: The service '/EWS/Exchange.asmx' cannot be activated due to an exception during compilation.  The exception message is: The type initializer for 'Microsoft.Exchange.Services.Wcf.MessageInspectorManager' threw an exception.. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Services.Wcf.MessageInspectorManager' threw an exception. ---> System.InvalidOperationException: Unable to generate a temporary class (result=1).
 Continue reading "Exchange 2010 OWA – Can’t Delete Messages"

Exchange Server 2010 – Changing Message Tracking Log Retention Period

To ensure that the Message Tracking Log is enabled, inside the Exchange Management Console, navigate to the following area:

Server Configuration >
Hub Transport >
Right click on your Hub Transport entry >
Log Settings Tab >
Check the box labeled "Enable message tracking log" and directly underneath it, enter the path where your log files will reside.

Open the Exchange Management Shell console and determine your server’s identity and verfiy logging is enabled with either of these commands.
Continue reading “Exchange Server 2010 – Changing Message Tracking Log Retention Period”