Problem
There are a few scenarios that will generate these events in the viewer. There can be too many active connections to the database. There could be a faulty ODBC connector from the EV server to the SQL database. SQL database collation configuration issues with-in the EV database could also produce a deadlocks scenario.
Error Message
Event ID: 8390
Task Category: Archive Task
Description: The EnterpriseVault.DirectoryConnection object reported an error. The SQL database server detected a deadlock while accessing the Vault Database '%2'
V-437-8390
Event ID: 8391
Task Category: Directory Service
Description: The EnterpriseVault.DirectoryConnection object reported an error. The SQL database server detected a deadlock while accessing the Vault Database '%2'
V-437-8391Event: 13360
Category: Directory Service
Description: An error was detected while accessing the Vault Database 'Provider=SQLOLEDB;Server=server_name;Database=EnterpriseVaultDirectory;Trusted_Connection=Yes' (Internal reference: CC1):
Description: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
SQL Command: N/A
Additional Microsoft supplied information:
Source: Microsoft OLE DB Provider for SQL Server
Number: 0x80004005
SQL State: 42000
Native Error: 00018452
HRESULT 0xc0043433
V-437-13360
Solution
- Messages can get stuck in the StorageArchive queue and can also see the deadlock in the EV databases.
- These directly relate to archiving performance issues.
- This problem can occur if the procedure to uniform the collations of the database was incorrectly executed or failed, leaving the Directory Database and/or the Vault Store databases, without any or some constraints.
- This issue has been seen to be caused by missing constraints after a failed execution of the script to uniform the collation on the Enterprise Vault databases.
- To verify this is the problem, please compare a backup of the EnterpriseVaultDirectory database as it was before changing the collations, with the resulting EnterpriseVaultDirectory database as it is after executing the script to change the collation. A comparison may also need to be performed against each vault store database.