EVD - External component has thrown an exception
151
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:04 PM
Symptom
In PS/CMD:
Error: Object reference not set to an instance of an object.
Adding \enabletrace=yes to the EVD command will show the following in PS/CMD:
Exception was thrown on final step: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at CCACSessionFactory.DeleteSession(CCACSession** , Boolean )
at CyberArk.Casos.Client.MCCACSessionFactory.DeleteSession(MCCACSession& Session, MCCACErrorHandle& Err)
at ExportVaultData.CasosEngine.Logoff()
at ExportVaultData.ExportData.Execute(String[] args)
at ExportVaultData.CasosEngine.Logoff()
at ExportVaultData.ExportData.Execute(String[] args)
Adding \enabletrace=yes to the EVD command will show the following in the casos.debug.log:
CAS8N028E CCAGI18NString can't create Collation object. Probably I18N data file is missing.
Vault trace logs will show the EVD user list the safes, list the contents for Vault Internal and Notification Engine safes, then logoff immediately.
Environment
12.6;12.7;13.0;13.2;13.1;14.0 Privileged Access Manager (PAM, self-hosted) Export Vault Data Running the Export Vault Data utility from Powershell/CMD to extract ObjectProperties or other data.
Cause
Running the command from a different folder from the utility will cause it to not load the required files even with full path specified.
Resolution
Move the command line to the directory where the EVD executable is located and run it again.