當您在 Exchange Server 2010 上啟動 RPC Client Access 服務時,會記錄事件識別碼106

原始 KB 編號:  982679

徵狀

在只安裝信箱角色的 Microsoft Exchange Server 2010 伺服器上,啟動 Microsoft Exchange RPC Client Access 服務。 在此情況下,會在應用程式記錄檔中記錄下列事件:

Log Name: Application

Source: MSExchange Common

Date: Date_Time_AM_PM
Event ID: 106

Task Category: General

Level: Error

Keywords: Classic

User: N/A

Computer: myExchange2010.example.com
Description:

Performance counter updating error. Counter name is Client: Foreground RPCs Failed, category name is MSExchange RpcClientAccess. Optional code: 3. 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.set_RawValue(Int64 value)

at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)

Last worker process info : System.UnauthorizedAccessException: Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Transport' is denied.

at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)

at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()

Performance Counters Layout infomration: FileMappingNotFoundException for category MSExchange RpcClientAccess : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name : Global\netfxcustomperfcounters.1.0msexchange rpcclientaccess

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)

原因

發生此問題的原因是,當您在 Exchange Server 2010 伺服器上只安裝信箱角色時,未安裝 RPC 用戶端存取服務的效能計數器。 不過,這並不會影響 Exchange Server 2010 伺服器的功能。

狀態

Microsoft 已確認這是「適用于」區段所列的 Microsoft 產品中的問題。