Exchange 2013 Issues with accessing OWA/ECP happened out of nowhere / Ran SP1 for Ex2013 / ECP and OWA worked for 24 hours now failed.

Having nothing but problems with this Exchange 2013 deployment, and its the simplest way to deploy Exchange. Single server, single domain controller, on the same box.

A few weeks ago, out of nowhere a server that was running fine, started reporting ASP errors and no access to the ECP or OWA would function.  Rebooting didn't help. Restarting IIS didn't help. Only Exchange and ADDS run on this server.

Was recommended through an Exchange 2013 forum to install SP1 to fix this issue.  That was a nightmare in itself, 18 steps, 50% of which failed one by one and had to work through those issues.  Once it completed, OWA and ECP worked again, but only for 24 hours or probably less if I  was up all day.  Now OWA works if I type https://ffws01/owa and login, but if I try https://ffws01/ecp I get a login prompt, then when logging in it goes 500 Internal Error.

PowerShell command Get-MailboxDatabaseCopyStatus shows ContentIndexStatus as "Failed and..."

There are three mailbox databases, the default randomly generated one, then MBX1 and MBX2.

I am at a loss right now, and have no idea what to do with this box. Users are able to access their mailboxes though from Outlook 2010 and Outlook 2013.  Just have no way of managing this server anymore.

November 10th, 2014 1:56pm

Server is: MS Windows Server 2012 (non-R2)
Exhange 2013 Standard (Service Pack 1 applied 11/1/2014-11/2/2014
Roles: Active Directory / Exchange / DNS / DHCP / File Services

End-Users: Outlook 2010 / Outlook 2013 / 12 Users
Server Symptoms: No Access to ECP with 500 Internal Error / OWA Accessible / Content Index reporting "Failed"
End-User Symptoms: Freezing / But Able to Access their mailboxes.

Free Windows Admin Tool Kit Click here and download it now
November 10th, 2014 1:58pm

Check authentication model for ECP site in IIS. Enable Windows authentication.
November 10th, 2014 2:15pm

Default Web Site > ecp > Windows Authentication is Disabled.

Exchange Back End > ecp > Windows Authentication is Enabled. <<--Already Enabled.

Any other ideas?

Thanks.


  • Edited by MRXennix Monday, November 10, 2014 6:36 PM
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2014 2:23pm

Hi,

Based on my research, we can try to following steps.

1.    Check whether Virtual Directories Authentication configured properly. Enable the ECP Virtual Directory with Anonymous and Basic Authentication.

2.    Check on the Application Pools to view whether ECP Application Pool is running on .NET Framework v4.0. It maybe the incompletely installation of Framework that causes this error. If so, We can try to run the following command as Administrator:

%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

Or change the MSExchangeECPAppPool from .NET Framework from v4.0 to v2.0. Then restart IIS.

3.    Check the event log, if there are any errors please take your time to post them.

Thanks.

November 11th, 2014 2:45am

First off > Thank you for your reply. Much appreciated.

1. Virtual Directories Authentication - ECP on Exchange Back End is configured already with Anon, Basic and Windows Authentication.

2. ECP Application Pool is running on .NET Framework v.4.0.30319, ran the command as well, no joy.

3. Have not tried switching to IIS 2.0, but will try tonight.

Below is the error I am seeing when trying to access the ECP after typing in my credentials:

Log Name:        Application
Source:            MSExchange Control Panel
Date:               11/11/2014 10:18:51 AM
Event ID:          4
Task Category: General
Level:              Error
Keywords:        Classic
User:               N/A
Computer:      FFWS01.firefly.local
Description:
Current user: 'FIREFLY\SM_375fa2460a03475ea'
Request for URL 'https://ffws01.firefly.local:444/ecp/default.aspx(https://ffws01/ecp/)' failed with the following error:
System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor' threw an exception. ---> System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
   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.RbacSettings.get_Session()
   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)
   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.RbacSettings.get_Session()
   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.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
   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()
   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()

Flight info: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance, False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration, True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.CmdletLogging, True],[Eac.CrossPremiseMigration, False],[Eac.DiscoveryPFSearch, False],[Eac.DlpFingerprint, False],[Eac.GeminiShell, False],[Eac.Office365DIcon, False],[Eac.UnlistedServices, False],],  Flights:[],  Constraints:[[mode, enterprise],], IsGlobalSnapshot: True
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="2014-11-11T15:18:51.000000000Z" />
    <EventRecordID>1929131</EventRecordID>
    <Channel>Application</Channel>
    <Computer>FFWS01.firefly.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>FIREFLY\SM_375fa2460a03475ea</Data>
    <Data>https://ffws01.firefly.local:444/ecp/default.aspx(https://ffws01/ecp/)</Data>
    <Data>System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Configuration.TenantMonitoring.TenantMonitor' threw an exception. ---&gt; System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
   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.RbacSettings.get_Session()
   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)
   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.RbacSettings.get_Session()
   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.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.
   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()
   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>
    <Data>Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance, False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration, True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.CmdletLogging, True],[Eac.CrossPremiseMigration, False],[Eac.DiscoveryPFSearch, False],[Eac.DlpFingerprint, False],[Eac.GeminiShell, False],[Eac.Office365DIcon, False],[Eac.UnlistedServices, False],],  Flights:[],  Constraints:[[mode, enterprise],], IsGlobalSnapshot: True</Data>
    <Data>ActivityId: </Data>
  </EventData>
</Event>


  • Edited by MRXennix Tuesday, November 11, 2014 3:28 PM
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2014 3:25pm

Hi,

Thanks for your post.

Please try the following steps to solve this issue.

  1. Click Start then Type CMD and run CMD as Administrator.
  2. Type cd\windows\system32.
  3. Type lodctr /R and then running an iisreset.

If this issue persists, please let me know.

Best Regards.


November 17th, 2014 2:31am

I am so tired of Exchange some times.

I ran it once it, reported Failed. Ran it again just for kicks, then it succeeded.

Now another issue that came up is related to the ContentIndex in State: FailedAndSuspended

but was able to resolve that by Stop Search Host Controller and Fast Search services , deleted that long string folder in the database folder and then restarted those services, the Content Index went from

Unknown > Crawling > Healthy after about 20 minutes per database.


Thanks for your help thus far though.

Free Windows Admin Tool Kit Click here and download it now
November 21st, 2014 3:13pm

Hi Thanks a lot, it works now :)
August 31st, 2015 5:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics