Event 40966 Exception Could not load file or assembly 'PerformanceCountersRCW' occurs when the Storage Service is started/stopped

book

Article ID: 100015454

calendar_today

Updated On:

Description

Error Message

Error during startup of Enterprise vault storage service:-

Event ID:      40966
Task Category: Storage Queue Broker
Level:         Error
Description: A program fault has raised an exception.
Exception: Could not load file or assembly 'PerformanceCountersRCW, Version=11.0.1.0, Culture=neutral, XXXXXX' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Diagnostic: Type: System.BadImageFormatException
Reference: StorageQueueBroker
Command Line: "c:\Program Files (x86)\Enterprise Vault\EVStorageQueueBroker.exe" -URL:tcp://XXXXXXXX/KVS.EnterpriseVault.ProcessManager33736294
Application Domain: EVStorageQueueBroker.exe
Process Id: 17636
Thread Id: 18008
Stack Trace:    at Symantec.EnterpriseVault.StorageQueueBroker.QueueBatchStreamFileDeleter.CreateStorageQueueCounters()
   at Symantec.EnterpriseVault.StorageQueueBroker.StorageQueueBrokerImpl.Start()
   at Symantec.EnterpriseVault.StorageQueueBroker.StorageQueueBroker.OnStart()
   at KVS.EnterpriseVault.ProcessManagement.ManagedObject.StartImpl(String startOptions) 

V-437-40966

Error during stop of Enterprise vault storage service:-

Event ID: 40966
Task Category: Storage Queue Broker
Level: Error
Description:  A program fault has raised an exception.
Exception: Object reference not set to an instance of an object.
Diagnostic: Type: System.NullReferenceException
Reference: StorageQueueBroker
Command Line: "c:\Program Files (x86)\Enterprise Vault\EVStorageQueueBroker.exe" -URL:tcp://IPAdress:6057/b03a3dfc_49aa_4107_92bc_f3578ed80006/KVS.EnterpriseVault.ProcessManager33736294
Application Domain: EVStorageQueueBroker.exe
Process Id: 8744
Thread Id:14328

V-437-40966

Cause

Incorrect or additional information in value within the EVStorageQueueBroker.exe.config file.
 

Solution

Note: Prior to editing the EVStorageQueueBroker.exe.config file, it is required to make a copy of this file for backup purposes.
  1. Stop the Enterprise Vault (EV) Storage Service.
  2. Browse to the EV Installation folder (Default = C:\Program Files (x86)\Enterprise Vault\)
  3. Locate the EVStorageQueueBroker.exe.config file. Copy this file elsewhere for backup.
  4. Edit the EVStorageQueueBroker.exe.config to verify the section is correct:
    • Example of incorrect value:
    •  
    • Example of Correct value (EV 11.0.1):
    •    
    •      
    •        
    •        
    •      
    •    
    •  
  5. Start the EV Storage Service for the changes to take effect

Resolution

Note: Prior to editing the EVStorageQueueBroker.exe.config file, it is required to make a copy of this file for backup purposes.
  1. Stop the Enterprise Vault (EV) Storage Service.
  2. Browse to the EV Installation folder (Default = C:\Program Files (x86)\Enterprise Vault\)
  3. Locate the EVStorageQueueBroker.exe.config file. Copy this file elsewhere for backup.
  4. Edit the EVStorageQueueBroker.exe.config to verify the section is correct:
    • Example of incorrect value:
    •  
    • Example of Correct value (EV 11.0.1):
    •    
    •      
    •        
    •        
    •      
    •    
    •  
  5. Start the EV Storage Service for the changes to take effect

Issue/Introduction

After an upgrade to Enterprise vault 11.0 SP1, the error occurs when the Enterprise Vault Storage service is started or stopped. The number of items in the Storage Queue will continue to increase, however no items will be processed from the Storage Queue.