000036473 - Queuing service logs state "invalid index ' ' was read from the registry" in RSA Archer

Document created by RSA Customer Support Employee on Jul 28, 2018Last modified by RSA Customer Support Employee on May 29, 2019
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000036473
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Platform, Queuing Service
RSA Version/Condition: 6.x
IssueWhen rebuilding the Search Index in RSA Archer, the index never rebuilds.

The Queuing service shows log entries similar to the example below:
Resetting all Queuing Service Performance Counters
 Document worker thread starting
 Document Thread 1: Shutting down.
 Error initializing Queuing Service Performance Counters: System.InvalidOperationException: Cannot load Counter Name data because an invalid index '' was read from the registry.  at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)    at System.Diagnostics.PerformanceCounterLib.get_NameTable()    at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()    at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)    at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)    at ArcherTech.Services.Queuing.PerformanceCounterWriter..ctor() 6/21/2018 9:50:36 AM - Resetting all Queuing Service Performance Counters 6/21/2018 9:50:36 AM - Startup error: Object reference not set to an instance of an object.
CauseThe issue occurs because the performance counter setting in Windows needs to be rebuilt.

ResolutionFollow the steps below to resolve the issue.
  1. Go to Start and type cmd.
  2. Right-click on cmd.exe and choose Run as administrator.
  3. Type the command below and press enter.

    lodctr /R

    Note: This is a CAPITAL R; a lower case r will return an error.

You will then get the message below.

Info: Successfully rebuilt performance counter setting from system backup store

WorkaroundThis may occur in a multi-server environment and IF the Search Index is not rebuilding on one server, it MAY be able to rebuild on a different server.
NotesFor more information, refer to the article entitled How to manually rebuild Performance Counter Library values on the Microsoft Support website.