Dtrace log shows this error:
Cannot insert duplicate key row in object 'dbo.tblAddressUser' with unique index 'IX_tblAddressUser_EmployeeID'. The duplicate key value is (###)
Enterprise Vault Event Log on the Compliance Accelerator server entries are:
Log Name: Symantec Enterprise Vault
Source: Accelerator AD Synchronizer
Event ID: 35
Task Category: None
Level: Error
Keywords: Classic
Description:
APP AT - Customer ID: 3 - An error occured while synchronising employee details for '{Domain}\}UserID}'. System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.tblAddressUser' with unique index 'IX_tblAddressUser_EmployeeID'. The duplicate key value is ({UserID}).
at KVS.Accelerator.ActiveDirectory.Profile.UpdateDS(SyncProfileDS ds)
at KVS.Accelerator.Server.CentralProfileSynchroniser.SynchroniseEmployeeProfile(SyncProfileDS profileDS, Dictionary`2 adPropValues)
Log Name: Symantec Enterprise Vault
Source: Accelerator AD Synchronizer
Event ID: 26
Task Category: None
Level: Error
Keywords: Classic
Description:
APP AT - Customer ID: 3 - an error occured when updating the Profiles. System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.tblAddressUser' with unique index 'IX_tblAddressUser_EmployeeID'. The duplicate key value is ({UserID}).
at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
at KVS.Accelerator.ActiveDirectory.Profile.UpdateDS(SyncProfileDS ds)
Log Name: Symantec Enterprise Vault
Source: Accelerator AD Synchronizer
Event ID: 35
Task Category: None
Level: Error
Keywords: Classic
Description:
APP AT - Customer ID: 3 - An error occured while synchronising employee details for '{Domain}\{UserID}'. System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.tblAddressUser' with unique index 'IX_tblAddressUser_EmployeeID'. The duplicate key value is ({UserID}).
at KVS.Accelerator.ActiveDirectory.Profile.UpdateDS(SyncProfileDS ds)
at KVS.Accelerator.Server.CentralProfileSynchroniser.SynchroniseEmployeeProfile(SyncProfileDS profileDS, Dictionary`2 adPropValues)
A monitored employee that is to synchronize with an Active Directory (AD) account already exists in Compliance Accelerator (CA) customer database. This can occur when an AD user account is set to synchronize as a Monitored Employee within CA, that account is deleted and a new account is created using the same or different AD SID but the same domain and UserID values.
When an AD user account is configured to synchronize with a CA Monitored Employee, a CA value named EmployeeID is created for that Monitored Employee entry. When the AD user account is deleted, the Monitored Employee is automatically deactivated after a number of failed synchronization attempts within a number of days. When a new AD user account is created using the same AD UserID and is configured within CA to synchronize with a new Monitored Employee entry, the EmployeeID value that CA wants to create for the new entry is found to already exist with the old entry and causes the Event ID 26 and 35 errors to be thrown into the CA server's Enterprise Vault Event Log as well as fails to populate all of the data needed for the new Monitored Employee entry.
In the case where the ADSynchroniser process fails to add the new monitored employee due to a deactivated pre-existing Monitored Employee entry, a manual process of ensuring unique relevant information in the database is required. Follow the steps below to obtain information needed to make the required change.
1. On the CA server