?
Solved

MSExchange Common Event ID: 106

Posted on 2012-08-22
7
Medium Priority
?
16,743 Views
Last Modified: 2013-02-13
I am getting hundreds event id 106 for the performance counters for Microsoft Exchange:
Log Name:      Application
Source: MSExchange Common
Date:          8/22/2012 11:44:19 AM
Event ID: 106
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      MAIL01.*************
Description:
Performance counter updating error. Counter name is Event Dispatchers, category name is MSExchange Assistants - Per Assistant.
Optional code: 1. Exception: The exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
   at System.Diagnostics.PerformanceCounter.Initialize()
   at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value)
   at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue)
Last worker process info : System.ArgumentException: Process with an Id of 3856 is not running.
   at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
   at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
EventID106.png
0
Comment
Question by:JimNadeau
  • 5
  • 2
7 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38321279
Are you running Perfmon ?
Start - > RUn -> Perfmon ... hit OK (Under Performance Logs and Alerts) check if anything is running.

- Rancy
0
 

Author Comment

by:JimNadeau
ID: 38321316
I do not have it running, but it does start...
These error messages are there from Exchange 2010
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38321364
If you dont want why not remove it ?
Or simply stop Perfmon

- Rancy
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 

Author Comment

by:JimNadeau
ID: 38321744
The perfmon is being run by exchange the exchange server, and to my knowledge you cannot just shut it off.
0
 

Accepted Solution

by:
JimNadeau earned 0 total points
ID: 38322613
From what I understand sometimes when Exchange is installed in segments the performance counters are missed. I did not find the exact reason/reasons that caused this, but this is what I did to fix the problem.

I used Exchange Management Shell with the following commands:
(If you have a 32 bit OS you can replace AMD64 in lines 2 and 3 with x86)
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Setup
New-PerfCounters -definitionfilename “$exinstall\Bin\perf\AMD64\dscperf.xml"
New-PerfCounters -definitionfilename “$exinstall\Bin\perf\AMD64\eseperf.xml"
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\RpcClientAccessPerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\AdminAuditPerfCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\ResourceHealthPerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\ThrottlingPerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\MiddleTierStoragePerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\IsMemberOfResolverPerfCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\ADRecipientCachePerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\ExchangeTopologyPerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\ExSearchPerformanceCounters.xml”
New-PerfCounters -definitionfilename “$exinstall\Setup\Perf\ExSearchCatalogPerformanceCounters.xml”

Open in new window


If you are still getting the error message there are additional performance counters in:
To list all of the performance counters from a command prompt not power shell
Dir "C:\Program Files\Microsoft\Exchange Server\V14\Setup\Perf\*.xml" /B

Open in new window


To output the list to a file:
Dir "C:\Program Files\Microsoft\Exchange Server\V14\Setup\Perf\*.xml" /B >C:\PerfSetupXML.txt

Open in new window

You can add the counters as needed.
1
 

Author Closing Comment

by:JimNadeau
ID: 38335860
After realizing the person that was answering the question did not know how to fix the problem I search further and found the answer my self.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question