Skip navigation

Recently I was trying to do some routine administrative work via Exchange OWA ECP and received this error:

useless-ecp-error

Hmm… that’s not very useful.

Looking in the Exchange logs this was the corresponding error:

Log Name: Application
Source: MSExchange Control Panel
Date: 3/30/2016 9:00:59 AM
Event ID: 4
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: exchange.domain.bloopblopbloop.com
Description:
Current user: 'CMC\backup'
Request for URL 'https://webmail.bloopblopbloop.com/ecp/default.aspx' failed with the following error:
System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor' threw an exception. ---> System.FormatException: Input string was not in a correct format.
 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
 at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
 at System.Diagnostics.PerformanceCounterLib.get_NameTable()
 at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
 at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
 at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
 at Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor..cctor()
 --- End of inner exception stack trace ---
 at Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor.LogActivity(CounterType counterType, String organizationName)
 at Microsoft.Exchange.Management.ControlPanel.RbacContext.CreateSession()
 at Microsoft.Exchange.Management.ControlPanel.RbacSettings.CreateSession()
 at Microsoft.Exchange.Management.ControlPanel.AuthenticationSettings..ctor(HttpContext context)
 at Microsoft.Exchange.Management.ControlPanel.RbacModule.Application_PostAuthenticateRequest(Object sender, EventArgs e)
 at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
System.FormatException: Input string was not in a correct format.
 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
 at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
 at System.Diagnostics.PerformanceCounterLib.get_NameTable()
 at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
 at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
 at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
 at Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor..cctor()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
 <Provider Name="MSExchange Control Panel" />
 <EventID Qualifiers="49152">4</EventID>
 <Level>2</Level>
 <Task>1</Task>
 <Keywords>0x80000000000000</Keywords>
 <TimeCreated SystemTime="2016-03-30T16:00:59.000Z" />
 <EventRecordID>3518828</EventRecordID>
 <Channel>Application</Channel>
 <Computer>exchange.domain.bloopblopbloop.com</Computer>
 <Security />
 </System>
 <EventData>
 <Data>CMC\backup</Data>
 <Data>https://webmail.bloopblopbloop.com/ecp/default.aspx</Data>
 <Data>System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor' threw an exception. ---&gt; System.FormatException: Input string was not in a correct format.
 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal)
 at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
 at System.Diagnostics.PerformanceCounterLib.get_NameTable()
 at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
 at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
 at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
 at Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor..cctor()
 --- End of inner exception stack trace ---
 at Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor.LogActivity(CounterType counterType, String organizationName)
 at Microsoft.Exchange.Management.ControlPanel.RbacContext.CreateSession()
 at Microsoft.Exchange.Management.ControlPanel.RbacSettings.CreateSession()
 at Microsoft.Exchange.Management.ControlPanel.AuthenticationSettings..ctor(HttpContext context)
 at Microsoft.Exchange.Management.ControlPanel.RbacModule.Application_PostAuthenticateRequest(Object sender, EventArgs e)
 at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
System.FormatException: Input string was not in a correct format.
 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal)
 at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
 at System.Diagnostics.PerformanceCounterLib.get_NameTable()
 at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
 at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
 at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
 at Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor..cctor()
</Data>
 </EventData>
</Event>

 
A quick search brought up a few options including “delete your OWA instance and start from scratch”. Thanks, but no thanks. The following solution did the trick for me:

solution


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: