Exchange 2007 Discovery fails with error number: -2146233088 (0x80131500) (NETIQKB73216)

  • 7773216
  • 25-Oct-2011
  • 25-Oct-2011

Environment

NetIQ AppManager 7.0.x
NetIQ AppManager 8.0
NetIQ AppManager for Exchange 2007

Situation

Exchange 2007 Discovery fails with error.
Exchange 2007 Discovery fails with error number: -2146233088 (0x80131500)

Resolution

When MCPSHostServer starts running, it creates a background thread to monitor CPU and Memory usage. The CPU is monitored by looking at some performance counters (e.g., "Process\% Processor Time"). It appears that this code is throwing an exception because the "Process" category is not present.

You can correct this issue by enabling the Process counters.  To do so, check to see if the following reg key exists on the server:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance\Disable Performance Counters

If it exists, then the value needs to be set to '0' in order for Performance counters to be available on the server.  If the counter does NOT exist, you can create it, with a value of '0', by executing the following from a command prompt on the system:

Reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance /v "Disable Performance Counters" /t REG_DWORD /d 0

Once the reg key exists, and the value is set to '0', Discovery should no longer generate this error message.

Cause

The problem is occurring because the "Process" performance counter category is not present on the agent computer.

Additional Information

Formerly known as NETIQKB73216