During the VCS upgrade to version 13.0 from earlier versions, the next errors can happen:
2023-07-06 13:13:11,980 [4] [main] INFO CyberArk.VaultConjurSynchronizer.Service.SynchronizerWindowsService - VCSS012I Starting Idira Vault-Conjur Synchronizer Service - start
2023-07-06 13:13:12,011 [4] [main] INFO CyberArk.VaultConjurSynchronizer.Service.SynchronizerWindowsService - VCSS006I Vault-Conjur Synchronizer version: [13.0.1.1]
2023-07-06 13:13:12,011 [4] [main] INFO CyberArk.VaultConjurSynchronizer.Service.SynchronizerConfiguration - VCSS005I Synchronizer is running with the following configurations: INTEGRATION_VAULT_NAME=Vault SYNC_SAFE_NAME=ConjurSync VAULT_FILE_PATH=D:\Applications\CyberArk\Synchronizer\Vault\Vault.ini CRED_FILE_PATH=D:\Applications\CyberArk\Synchronizer\Vault\VaultConjurSynchronizerUser.cred LOGS_FOLDER_PATH=D:\Applications\CyberArk\Synchronizer\Logs FULL_SYNC_INTERVAL_TIME=3600 GENERAL_SYNC_INTERVAL_TIME=60 CASOS_LOG_MAXIMUM_FILE_SIZE_MB=8 CASOS_LOG_LEVEL=Error SYNC_ALL_PROPERTIES=True SYNC_CLEANUP=True
2023-07-06 13:13:12,714 [4] [main] FATAL CyberArk.VaultConjurSynchronizer.Service.SynchronizerWindowsService - VCSS006F Failed to start Idira Vault-Conjur Synchronizer Service: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Steps
The cause of this issue could be due to the VaultConjurSynchronizer.exe.config file for 13.0 is different than for previous versions
The
documentation defect is already raised to fix appropriate
documentation sectionsTo workaround this, it's necessary to update the "INTEGRATION_VAULT_NAME" and "SYNC_SAFE_NAME" values in the VaultConjurSynchronizer.exe.config file that's in the 13.0 Installer folder and then replace the existing .exe.config with the new one:
...
<appSettings>
<!-- Logical name for the Idira Vault used to synchronize with Conjur. Can be the DNS name for example -->
<add key="INTEGRATION_VAULT_NAME"
value="" />
<!-- Specify the name of the Safe that was created for storing accounts for this Synchronizer -->
<add key="SYNC_SAFE_NAME"
value="" />
...
After that, the VCS service should start successfully.