From: joaoccc on
Hello, i have a Exchange 2010 with the roles CAS, HUB e Mailbox.
I add another server and installed the CAS and HUB Role.

When i uninstall the CAS role from the first server i begin to have these
errors

Log Name: Application
Source: MSExchange Common
Date: 07-04-2010 14:27:22
Event ID: 106
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: SVEXCHANGE-MBX.inatel.local
Description:
Performance counter updating error. Counter name is Client-side Cache Hits,
category name is MSExchange Active Manager Client. 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
5068 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String
machineName)
at
Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
Processes running while Performance counter failed to update:
5536 mmc
1176 rotatelogs
5508 powershell
8068 notepad
7080 svchost
1896 cmd
940 spoolsv
772 LogonUI
3332 Microsoft.Exchange.AntispamUpdateSvc
1952 hpsmhd
1888 rotatelogs
5100 explorer
6872 MSExchangeMailSubmission
960 svchost
5288 explorer
1740 conhost
1936 inetinfo
7032 rdpclip
1340 SMSvcHost
1536 conhost
5080 conhost
1728 hpsmhd
348 csrss
6256 MSExchangeMailboxAssistants
5664 iexplore
6844 mmc
8616 iexplore
3004 MSExchangeTransport
5104 taskhost
3880 msdtc
7620 svchost
4664 sppsvc
920 svchost
1904 rotatelogs
5252 dwm
1508 smhstart
4460 conhost
2028 rotatelogs
880 svchost
4744 TrustedInstaller
512 lsm
3268 winlogon
5828 msftesql
9640 msftefd
4836 winlogon
1880 cmd
6016 Microsoft.Exchange.RpcClientAccess.Service
1484 snmp
5816 Microsoft.Exchange.ServiceHost
692 svchost
7648 w3wp
4236 cmd
1048 cpqrcmc
9356 iexplore
1868 MSExchangeTransportLogSearch
488 lsass
1616 MSExchangeADTopologyService
1076 vcagent
4620 taskhost
6192 Microsoft.Exchange.ProtectedServiceHost
4812 csrss
476 winlogon
276 svchost
5200 rdpclip
864 conhost
2044 cmd
9528 mmc
5980 WmiPrvSE
1448 cmd
6372 mmc
264 smss
6764 iisrstas
4596 WmiPrvSE
3216 mmc
5776 MSExchangeThrottling
7152 EdgeTransport
452 services
7148 msexchangerepl
3404 svchost
3796 conhost
1576 csrss
1428 portmap
3000 Microsoft.Exchange.Search.ExSearch
1028 svchost
4376 Microsoft.Exchange.EdgeSyncSvc
828 svchost
5192 iisrstas
4232 WmiPrvSE
7320 iexplore
5348 iexplore
408 csrss
9680 LogonUI
788 svchost
616 svchost
1600 iqlremote
4160 store
1204 mad
3456 svchost
10024 mmc
1592 rotatelogs
1984 conhost
1192 hpwmistor
1584 WmiPrvSE
400 wininit
3748 dwm
4 System
9540 mmc
0 Idle
Performance Counters Layout infomration: FileMappingNotFoundException for
category MSExchange Active Manager Client :
Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open
File mapping for name : Global\netfxcustomperfcounters.1.0msexchange active
manager client
at Microsoft.Exchange.Diagnostics.FileMapping.OpenFileMapping(String
name, Boolean writable)
at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean
writable)
at
Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
at
Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)


Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange Common" />
<EventID Qualifiers="49156">106</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-04-07T13:27:22.000000000Z" />
<EventRecordID>8755</EventRecordID>
<Channel>Application</Channel>
<Computer>SVEXCHANGE-MBX.inatel.local</Computer>
<Security />
</System>
<EventData>
<Data>1</Data>
<Data>Client-side Cache Hits</Data>
<Data>MSExchange Active Manager Client</Data>
<Data>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
5068 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String
machineName)
at
Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
Processes running while Performance counter failed to update:
5536 mmc
1176 rotatelogs
5508 powershell
8068 notepad
7080 svchost
1896 cmd
940 spoolsv
772 LogonUI
3332 Microsoft.Exchange.AntispamUpdateSvc
1952 hpsmhd
1888 rotatelogs
5100 explorer
6872 MSExchangeMailSubmission
960 svchost
5288 explorer
1740 conhost
1936 inetinfo
7032 rdpclip
1340 SMSvcHost
1536 conhost
5080 conhost
1728 hpsmhd
348 csrss
6256 MSExchangeMailboxAssistants
5664 iexplore
6844 mmc
8616 iexplore
3004 MSExchangeTransport
5104 taskhost
3880 msdtc
7620 svchost
4664 sppsvc
920 svchost
1904 rotatelogs
5252 dwm
1508 smhstart
4460 conhost
2028 rotatelogs
880 svchost
4744 TrustedInstaller
512 lsm
3268 winlogon
5828 msftesql
9640 msftefd
4836 winlogon
1880 cmd
6016 Microsoft.Exchange.RpcClientAccess.Service
1484 snmp
5816 Microsoft.Exchange.ServiceHost
692 svchost
7648 w3wp
4236 cmd
1048 cpqrcmc
9356 iexplore
1868 MSExchangeTransportLogSearch
488 lsass
1616 MSExchangeADTopologyService
1076 vcagent
4620 taskhost
6192 Microsoft.Exchange.ProtectedServiceHost
4812 csrss
476 winlogon
276 svchost
5200 rdpclip
864 conhost
2044 cmd
9528 mmc
5980 WmiPrvSE
1448 cmd
6372 mmc
264 smss
6764 iisrstas
4596 WmiPrvSE
3216 mmc
5776 MSExchangeThrottling
7152 EdgeTransport
452 services
7148 msexchangerepl
3404 svchost
3796 conhost
1576 csrss
1428 portmap
3000 Microsoft.Exchange.Search.ExSearch
1028 svchost
4376 Microsoft.Exchange.EdgeSyncSvc
828 svchost
5192 iisrstas
4232 WmiPrvSE
7320 iexplore
5348 iexplore
408 csrss
9680 LogonUI
788 svchost
616 svchost
1600 iqlremote
4160 store
1204 mad
3456 svchost
10024 mmc
1592 rotatelogs
1984 conhost
1192 hpwmistor
1584 WmiPrvSE
400 wininit
3748 dwm
4 System
9540 mmc
0 Idle
Performance Counters Layout infomration: FileMappingNotFoundException for
category MSExchange Active Manager Client :
Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open
File mapping for name : Global\netfxcustomperfcounters.1.0msexchange active
manager client
at Microsoft.Exchange.Diagnostics.FileMapping.OpenFileMapping(String
name, Boolean writable)
at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean
writable)
at
Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
at
Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)

</Data>
</EventData>
</Event>

If i install the cas role again the erros disappear.

How can i remove these errors.

Thanks
João Correia