当您在 Exchange Server 2010 上启动 RPC 客户端访问服务时,将记录事件 ID 106

原始 KB 数:  982679

症状

您在仅安装了邮箱角色的 Microsoft Exchange Server 2010 服务器上启动 Microsoft Exchange RPC 客户端访问服务。 在这种情况下,将在应用程序日志中记录以下事件:

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 产品中的问题。