XADM: Performance Monitor Counters Unavailable After Applying 5.5 SP1

ID: Q192742


The information in this article applies to:



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

If you run Performance Monitor after applying Exchange Server 5.5 Service Pack 1, no counters may appear in the object list. This happens under the following conditions: Regional Settings are set to "French" and Outlook Web Access (MSExchangeWEB service) is enabled.


CAUSE

The wrong values for French strings are in the Ewsperf.ini file included in Service Pack 1 (SP1).


WORKAROUND

If you have not yet installed Exchange Server 5.5 SP1 and if you match these two conditions:

French Regional Settings and Outlook Web Access enabled
then you can avoid the problem by replacing the following lines in the Server\Setup\I386\Ewsperf.ini file of SP1:

   OBJECT_KLUANE_009_NAME=MSExchange WEB
   OBJECT_KLUANE_009_HELP=Microsoft Outlook Web Access
   COUNTER_1_009_NAME=Objets transmetteurs de rendus
   COUNTER_1_009_HELP=Le nombre actuel d'objets transmetteurs de rendus.
   COUNTER_2_009_NAME=Corps de messages rendus
   COUNTER_2_009_HELP=Le nombre total de corps de messages rendus.
   COUNTER_3_009_NAME=Pièces jointes rendues
   COUNTER_3_009_HELP=Le nombre total de pièces jointes rendues.
   COUNTER_4_009_NAME=Octets de pièces jointes rendus
   COUNTER_4_009_HELP=Le nombre total d'octets de pièces jointes rendus. 
Replace the above lines with:

   OBJECT_KLUANE_00C_NAME=MSExchange WEB
   OBJECT_KLUANE_00C_HELP=Microsoft Outlook Web Access
   COUNTER_1_00C_NAME=Objets transmetteurs de rendus
   COUNTER_1_00C_HELP=Le nombre actuel d'objets transmetteurs de rendus.
   COUNTER_2_00C_NAME=Corps de messages rendus
   COUNTER_2_00C_HELP=Le nombre total de corps de messages rendus.
   COUNTER_3_00C_NAME=Pièces jointes rendues
   COUNTER_3_00C_HELP=Le nombre total de pièces jointes rendues.
   COUNTER_4_00C_NAME=Octets de pièces jointes rendus
   COUNTER_4_00C_HELP=Le nombre total d'octets de pièces jointes rendus. 
Then run the SP1 Setup.exe.

If you are already facing this problem, try either of the following steps:

In any case, reinstall the Exchange Web counters as explained in paragraph 3 below (Restoring Counters of MSExchangeWEB Service).

1. Use of FIXPERF

Contact your Microsoft local support center and ask them to provide the FIXPERF utility.

WARNING: FIXPERF has been written to fix this problem. Microsoft does not guarantee it will solve your problem and you can only use it **AS IS**.

FIXPERF modifies the registry for you. It can be run locally by running the following command:
FIXPERF MSExchangeWEB 8
(MSExchangeWEB is the name of the service that caused the problem and 8 is the length of the counters for this service.)

FIXPERF can also be run remotely if you have administrative access to the remote computer:
FIXPERF \\servername MSExchangeWEB 8
The output of FIXPERF looks like the following:

   Opening local machine registry ...
   Opening SYSTEM\CurrentControlSet\Services\MSExchangeWEB\Performance ...
   Getting First Counter ... 3124
   Getting First Help ... 3125
   Getting Last Counter ... 0
   Getting Last Help ... 0
   Opening SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib ...
   Getting Last Counter ... 0
   Getting Last Help ... 0
   Fixing SYSTEM\CurrentControlSet\Services\MSExchangeWEB\Performance ...
   Setting Last Counter to 3132 ...
   Setting Last Help to 3133 ...
   Fixing SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib ...
   Computing Last Counter and Last Help values ...
   Setting Last Counter to 3132 ...
   Setting Last Help to 3133 ...
   Performace counters restored successfully. 
FIXPERF can also detect corrupted performance counters entries. In this case, you may see messages such as:

In any case, this means that the following value is corrupted:

 SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Perflib\009\Counter 
Whenever possible, use a backup of the system and restore the file %SystemRoot%\System32\Perf*.dat.

2. Fixing the registry with REGEDT32

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

  1. Run REGEDT32.


  2. Select HKLM\SYSTEM\CCS\Services\MSExchangeWEB\Performance.


  3. Compute the Last Counter and Last Help values as follows:



  4. Modify the registry values "Last Counter" and "Last Help" with the values computed above.


  5. Select HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Perflib\009 (English counters were set properly by the Service Pack).


  6. Edit the "Counter" value that is a multi-string value. Go to the last couple of strings and note the highest counter number. For example, if the last two lines look like the following, the LastCounter value should be 3400:
    
          3400
          Attachment Bytes Rendered 


  7. Edit the "Help" value that is a multi-string value. Note the highest help value (last one).


  8. Select HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Perflib.


  9. Modify LastCounter and LastHelp with the values computed above.


3. Restoring Counters of MSExchangeWEB Service

Modify Ewsperf.ini, located in \server\setup\i386 of Exchange 5.5 SP1, so that all French counters are marked with the 00C language ID. You should now have the following lines:

   OBJECT_KLUANE_00C_NAME=MSExchange WEB
   OBJECT_KLUANE_00C_HELP=Microsoft Outlook Web Access
   COUNTER_1_00C_NAME=Objets transmetteurs de rendus
   COUNTER_1_00C_HELP=Le nombre actuel d'objets transmetteurs de rendus.
   COUNTER_2_00C_NAME=Corps de messages rendus
   COUNTER_2_00C_HELP=Le nombre total de corps de messages rendus.
   COUNTER_3_00C_NAME=PiÞces jointes rendues
   COUNTER_3_00C_HELP=Le nombre total de piÞces jointes rendues.
   COUNTER_4_00C_NAME=Octets de piÞces jointes rendus
   COUNTER_4_00C_HELP=Le nombre total d'octets de piÞces jointes rendus. 
Run the following commands:
UNLODCTR MSExchangeWEB LODCTR EWSPERF.INI


RESOLUTION

To resolve this problem, obtain the latest service pack for Exchange Server version 5.5. For more information, please see the following article in the Microsoft Knowledge Base:

Q191014 XGEN: How to Obtain the Latest Exchange Server 5.5 Service Pack


STATUS

Microsoft has confirmed this to be a problem in Microsoft Exchange Server version 5.5 Service Pack 1. This problem was first corrected in Exchange Server 5.5 Service Pack 2.


Keywords          : exc55sp2fix XADM 
Version           : WinNT:5.5
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: April 20, 1999