The EVStorageQueueBroker logs the error with Event ID 40966 'A program fault has raised an exception'

book

Article ID: 100040009

calendar_today

Updated On:

Description

Error Message

Event ID 40966 (1)
 
Type :        Error
Event :       40966
Source :      Enterprise Vault
Category :    Storage Queue Broker
User :        N/A
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://10.0.0.1:1672/6770aa31_6cb5_470b_bda0_7b2b710d6a2f/KVS.EnterpriseVault.ProcessManager32347029
Application Domain: EVStorageQueueBroker.exe
Process Id: 13096
Thread Id: 52200
Stack Trace:    at Symantec.EnterpriseVault.StorageQueueBroker.StorageQueueBroker.OnStop()
   at KVS.EnterpriseVault.ProcessManagement.ManagedObject.KVS.EnterpriseVault.ProcessManagement.IAdminControl.Stop()


Event ID 40966 (2)

Type :        Error
Event :       40966
Source :       Enterprise Vault
Category :    Storage Queue Broker
User :        N/A
Description:
A program fault has raised an exception.

Exception: Could not load file or assembly 'PerformanceCountersRCW, Version=12.1.0.0, Culture=neutral, PublicKeyToken=26c5e2ccf2b9267c' 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://10.0.0.1:31015/93ef28eb_edcb_4373_a16f_616cc1919626/KVS.EnterpriseVault.ProcessManager33420276
Application Domain: EVStorageQueueBroker.exe
Process Id: 24564
Thread Id: 19328
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)

Ultimately when the StorageQueue fills up these additional events are logged:

Event ID 29000
 
Type :        Warning
Event :       29000
Source :      Enterprise Vault
Category :    Storage Online
User :        N/A

Description:
Item has not been added to the storage queue because the queue has reached its maximum length.

Enterprise Vault will automatically try again later.

Event ID 41043
 
Type :        Warning
Event :       41043
Source :      Enterprise Vault
User :        N/A

Description:
The storage server refused an archiving request due to one of the following reasons:

    - The storage queue has reached its maximum length.
    - The remaining disk space of the storage queue has breached its threshold.
    - The storage queue has been closed.
    - The storage server is too busy.

Cause

The aforementioned issue could be caused by the presence of an old 'EVStorageQueueBroker.exe.config' file not properly replaced during an Enterprise Vault upgrade; open the 'EVStorageQueueBroker.exe.config' with Notepad and check the 'codeBase version='; this must match with the EV Server version.



    
    
        
        
            
                
                 href="x64/PerformanceCountersRCW.dll"/>
            
        
    

Resolution

In order to fix this issue it is possible to replace the existing 'EVStorageQueueBroker.exe.config' with one containing the proper codebase version, if no other Enterprise Vault Servers are present in the EV site please open new case via your local number or MyVeritas.com

Issue/Introduction

The EVStorageQueueBroker logs the error with Event ID 40966 'A program fault has raised an exception Exception: Object reference not set to an instance of an object'; in addition items are not post-processed from the StorageQueue