question

RobCochran-3119 avatar image
0 Votes"
RobCochran-3119 asked aljustas-5553 commented

MSExhange Configuration Core Errors

Hello all,

I've looked just about everywhere and have done a lot of tasks trying to correct this error, but I feel like I'm going in the wrong direction. It's an exchange 2013 Environment. There errors are all over the event log and, because of these, I am unable to login to the ECP. I have rebuilt the counters using lodctr /r but these errors persist. Any insight would be great. I will post the error details below. The General tab of the log states

"The description for Event ID 1 from source MSExchangeConfiguration Core cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer."

The details are below

 - System 
    
   - Provider 
    
    [ Name]  MSExchange Configuration Core 
     
   - EventID 1 
    
    [ Qualifiers]  49152 
     
    Level 2 
     
    Task 1 
     
    Keywords 0x80000000000000 
     
   - TimeCreated 
    
    [ SystemTime]  2021-02-24T19:04:00.000000000Z 
     
    EventRecordID 29417153 
     
    Channel Application 
     
    Computer **REDACTED**
     
    Security 
     
    
 - EventData 
    
    12460 
    w3wp.exe 
    Exception from CmdletHealthCountersModule.Task_Release: 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 'W3SVC_W3WP' 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.ProvisioningMonitoring.PerTenantCmdletHealthCounters.UpdateSuccessCount(ErrorRecord errorRecord) at Microsoft.Exchange.Configuration.Tasks.CmdletHealthCountersModule.IncrementSuccessCount(ErrorRecord errorRecord) at Microsoft.Exchange.Configuration.Tasks.CmdletHealthCountersModule.Task_Release(Object sender, EventArgs e) at Microsoft.Exchange.Configuration.Tasks.CriticalFeatureHelper.Execute(ICriticalFeature feature, Action action, TaskContext taskContext, String methodNameInLog) 

windows-serveroffice-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YukiSun-MSFT avatar image
0 Votes"
YukiSun-MSFT answered aljustas-5553 commented

Hi @RobCochran-3119

Before going further, would you please tell us what error do you see when trying to access ECP?

I have rebuilt the counters using lodctr /r but these errors persist.

After running the command lodctr /R in elevated command prompt, have you already run an IIS reset and check how it goes?

If the error persists, please try manually loading the TenantMonitoring counter which is mentioned in the event logs:

1.Close Performance Monitor, and then stop any other monitoring services that might be trying to use the missing counters.
2.Run Exchange Management Shell as Administrator, type the following command, and then press Enter:

 Add-Pssnapin Microsoft.Exchange.Management.PowerShell.Setup

3.Run New-PerfCounters to add the performance counter:

 New-perfcounters –definitionfilename “C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\MSExchangeTenantMonitoringPerformanceCounters.xml"

71962-1.png

4.Reboot the Exchange server for the change to take effect and check the result.



If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1.png (3.2 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

As a follow up, I did all of the above. Eventually it did work... Even after a reboot it wasn't working but after waiting a couple hours and checking it was back up. I'm unsure why. Nobody did anything further than that.

The error was a 500 unexpected error after trying to login to ecp. That appears to have resolved itself, although I'm unsure why.

0 Votes 0 ·

Thanks @RobCochran-3119 for update and great to know that the it worked!

Regarding the MSExchange Configuration Core error with Event ID 1, I also found the article below which finally resolved by adding the performance counter as mentioned earlier:
Error event “MSExchange Configuration Core” with ID no. 1 in the application event log every minute

As per your concern about it took a couple of hours before getting back to work, I am assuming maybe there are some relevant services or components which took some time to get back up.

By the way, if the reply above can be of some help, would you mind clicking Accept Answer and upvote it to close this up? It can help others in the community looking for help on similar topics. Thanks!

0 Votes 0 ·

Thank you and best wishes! I spent half a day searching for a solution and only it really worked. By the way, there was no need to reboot the server. It was enough to restart the IIS application pool.

0 Votes 0 ·