EVD: "couldn't be imported to DB (table: ObjectProperties)." when attempting to export EVD files
Symptom
The following appears in the logs when attempting to generate the CAFiles and CAOwners tables:
Error: ITADM113E (null) End of table condition raise on joined query 4.
The following messages also appear regarding the ObjectsProperties table:
28/11/2023 17:39:13 Import operation for table 'ObjectProperties' failed.
28/11/2023 17:39:13 Error: File 'C:\Temp\EVDLogs\ObjectProperties.csv' couldn't be imported to DB (table: ObjectProperties). Please check BCP out files for further information
BCP out files:
SQLState = 22005, NativeError = 0
Error = [Microsoft][ODBC Driver 17 for SQL Server]Invalid character value for cast specification
BCP copy in failed
Environment
12.2;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Export Vault Data EVD version 12.2-12.6
Cause
This behavior is caused by a bug in EVD's behavior involving a missing parameter of the CACVaultID. The DB table has 7 parameters, but EVD exports only 6 parameters on the exportdata.cs.
Resolution
This issue is fixed in version 12.6.11, which is attached to this knowledge base article. Installing it should fix the problem and allow EVD to run.
Tags: EVD failing, objectsproperties, EVD can't import to mssql, mssql evd import, evd import, export vault data, export vault data import, mssql, export vault data mssql import, bcp, bcp out