Following events are seen in the Event Viewer :
Log Name: Veritas Enterprise Vault
Source: Enterprise Vault
Date: 6/22/2020 7:40:06 AM
Event ID: 13360
Task Category: Directory Service
Level: Error
Keywords: Classic
User: N/A
Computer: EV0001.EVLAB.COM
Description:
An error was detected while accessing the Vault Database 'Provider=SQLOLEDB;Server=AUEVSQLServer0001\sql01;Database=MASTER;Integrated Security=SSPI' (Internal reference: {CADODataAccess::ExecuteSQLCommand} [d:\builds\16_\ev\v-m-s\sources\source\common\adointerface\adodataaccess.cpp, lines {1326,1328,1347,1379}, built Nov 1 13:10:58 2018]):
Description:
Class not registered
SQL Command:
SELECT name FROM sysdatabases WHERE name = N'EnterpriseVaultDirectory'
Additional Microsoft supplied information:
Source: Provider
Number: 0x80040154
SQL State:
Native Error: -2147221164
HRESULT 0x80040154
Multiple instances of Event 13360 will show different SQL queries being fired by the Directory Service.
Other EV processes throw the following errors :
Log Name: Veritas Enterprise Vault
Source: Enterprise Vault
Date: 6/22/2020 10:11:30 PM
Event ID: 4209
Task Category: Storage Server
Level: Error
Keywords: Classic
User: N/A
Computer: EV0001.EVLAB.COM
Description:
Could not obtain the service entry identifier for this service
Service name: EnterpriseVaultStorageService
Error: Class not registered (0x80040154)
Internal reference: GSEID/ECBS
Log Name: Veritas Enterprise Vault
Source: Enterprise Vault
Date: 6/22/2020 10:11:30 PM
Event ID: 40966
Task Category: Monitoring
Level: Error
Keywords: Classic
User: N/A
Computer: EV0001.EVLAB.COM
Description:
A program fault has raised an exception.
Exception: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Diagnostic: HRESULT: 80040154
Type: System.Runtime.InteropServices.COMException
Reference:
Command Line: "C:\Program Files (x86)\Enterprise Vault\EVMonitoring.exe" -URL:tcp://192.168.2.115:15004/08b525dd_38e5_4719_ade2_6c78cd95d3c3/KVS.EnterpriseVault.ProcessManager19473824
Application Domain: EVMonitoring.exe
Process Id: 13380
Thread Id: 11700
Stack Trace: at KVS.EnterpriseVault.Interop.DirectoryConnectionObjectClass.IDirectoryPublicV51_EnumComputersBySite(String entryID, String requestedAttributes)
at KVS.EnterpriseVault.Common.Computer.GetComputerEntryIds(String siteId, String computerAltName)
Log Name: Veritas Enterprise Vault
Source: Enterprise Vault
Date: 6/22/2020 10:11:31 PM
Event ID: 40966
Task Category: File Server Archive Manager
Level: Error
Keywords: Classic
User: N/A
Computer: EV0001.EVLAB.COM
Description:
A program fault has raised an exception.
Exception: The type initializer for 'KVS.EnterpriseVault.FileServerArchive.Computer' threw an exception.
Diagnostic:
Type: System.TypeInitializationException
Reference:
Command Line: "C:\Program Files (x86)\Enterprise Vault\EVFileSvrArcMngr.exe" -URL:tcp://192.168.2.115:15004/08b525dd_38e5_4719_ade2_6c78cd95d3c3/KVS.EnterpriseVault.ProcessManager64880701
Application Domain: EVFileSvrArcMngr.exe
Process Id: 5640
Thread Id: 4936
Stack Trace: at KVS.EnterpriseVault.FileServerArchive.Computer.get_SiteId()
at KVS.EnterpriseVault.FileServerArchive.FileServerArchiveManager.WaitforComputerEntryID()
at KVS.EnterpriseVault.FileServerArchive.FileServerArchiveManager.SetFileServerManagementUrl()
at KVS.EnterpriseVault.FileServerArchive.FileServerArchiveManager.WaitForDirectoryServiceThenStartRetreivalThreads()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Log Name: Veritas Enterprise Vault
Source: Enterprise Vault
Date: 6/29/2020 5:26:42 AM
Event ID: 4209
Task Category: Task Controller Service
Level: Error
Keywords: Classic
User: N/A
Computer: EV0001.EVLAB.COM
Description:
Could not obtain the service entry identifier for this service
Service name: EnterpriseVaultTaskControllerService
Error: Class not registered (0x80040154)
Internal reference: GSEID/ECBS
Log Name: Veritas Enterprise Vault
Source: Enterprise Vault
Date: 6/29/2020 5:27:52 AM
Event ID: 4209
Task Category: Shopping Service
Level: Error
Keywords: Classic
User: N/A
Computer: EV0001.EVLAB.COM
Description:
Could not obtain the service entry identifier for this service
Service name: EnterpriseVaultShoppingService
Error: Class not registered (0x80040154)
Internal reference: GSEID/ECBS
When a Process Monitor trace is taken during issue re-production, it shows the following :

This issue happens if the msadce.dll file is missing or if the folder path “C:\Program Files (x86)\Common Files\System\msadc” is unavailable.
The msadce.dll is a part of Microsoft Cursor Service for OLE DB which is a part of the Operating System. This library is used by the Directory Service to parse the response to the queries received from SQL.
Ensure the folder path “C:\Program Files (x86)\Common Files\System\msadc” is correct and accessible, and that the library msadce.dll is present in it.