Can't access ECP
We just upgraded to Exchange 2010 and I'm trying to explore the ECP. I try to log into it by going to
https://mailserver.domain.com/ecp - it takes me to the OWA login, I type in my credentials, then it spits out an error:
Unexpected Error
An error occurred and your request couldn't be completed. Please try again.
Can anybody point me in the right direction to troubleshoot this? Does ECP need to be enabled in EMC or something? ----------- Ron E Biggs Network Administrator Entertainment Studios
March 31st, 2011 1:28pm
Ensure you have correctly configured the InternalURL & ExternalURL URLs for the OWA and ECP virtual directories.
Set-EcpVirtualDirectory
and
set-OwaVirtualDirectory
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 1:38pm
Well I checked the EMC for the virtual directories of both OWA and ECP, and they both show up as expected: InternalURLs are
https://mailserver.domain.com/owa and
https://mailserver.domain.com/ecp. I tried a couple tweaks, like adding an identical ExternalURL in EMC, changing the login method for ECP, and logging in from IE (within the domain). No dice, same
error.
Not really hip on using Shell if the same thing can be done on EMC. Which I assume I just did.----------- Ron E Biggs Network Administrator Entertainment Studios
March 31st, 2011 2:02pm
Can you access it via OWA from the Options menu?
Are you using an account that is mailbox-enabled and located on the Exchange 2010 server?
Did anyone mess with URL redirection?
Any errors in the event logs?
What SP and RU is Exchange 2010?
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 2:09pm
Can't access from the OWA options menu either. Account is mailbox enabled, on the server, nobody messed with URL redirect. It's Exch2010 SP1.
Here's the error message I'm getting in the Windows Application Log:
Log Name: Application
Source: MSExchange Control Panel
Date: 3/31/2011 11:10:35 AM
Event ID: 4
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: mailserver.domain.com
Description:
Current user: 'DOMAIN\Admin'
Request for URL 'https://mailserver.domain.com/ecp/default.aspx?rfr=owa' 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="2011-03-31T18:10:35.000000000Z" />
<EventRecordID>72352</EventRecordID>
<Channel>Application</Channel>
<Computer>mailserver.domain.com</Computer>
<Security />
</System>
<EventData>
<Data>DOMAIN\Admin</Data>
<Data>https://mailserver.domain.com/ecp/default.aspx?rfr=owa</Data>
<Data>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()
</Data>
</EventData>
</Event>----------- Ron E Biggs Network Administrator Entertainment Studios
March 31st, 2011 2:30pm
Maybe?:
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/5f1fd736-46b1-45cc-b028-934304163f76/
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 2:48pm
BOOM SHAKALA! It worked!
For the record, I went in through CMD as Administrator, navigated to C:\windows\system32, and ran lodctr /r. Then did an IISreset. This rebuilds the performance counter from a backup store.
Thanks so much.----------- Ron E Biggs Network Administrator Entertainment Studios
March 31st, 2011 3:47pm