When 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.
The issue occurs because the performance counter setting in Windows needs to be rebuilt.
Follow the steps below to resolve the issue.
Go to Start and type cmd.
Right-click on cmd.exe and choose Run as administrator.
Type the command below and press enter.
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
This 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.