PVWA - Server error message: An item with the same key has already been added
Symptom
PVWA users cannot login and receive the following message.
Error Message:
| {pid= 792} | {tid= 308} | :: | EPVDL001E Error loading configuration files: Cred file=C:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini. Configuration safe=PVWAConfig. Reason: An item with the same key has already been added.
Server error message: An item with the same key has already been added
Environment
10.10;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
Policies.xml or PVConfigurations.xml contains a duplicate policy entry.
Resolution
Open the Policies.xml or PVConfigurations.xml file (in safe PVWAConfig) and look for duplicate policies. Remove any duplicate policies then restart IIS and CPM
OR you can revert one of the files (Policies.xml, PVConfigurations.xml) via the PrivateArk client
1. Login to PA client
2. PVWAConfig safe
3. Right-click Policies.xml or PVConfigurations.xml (whichever you are reverting)
4. Versions - A popup box will come up showing you a list of older versions of this file along with a timestamp
5. Select an earlier version
6. Select "Make Current Version"
Additional Information
Details
PVWA users cannot login and receive the following message.
Error Message:
| {pid= 792} | {tid= 308} | :: | EPVDL001E Error loading configuration files: Cred file=C:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini. Configuration safe=PVWAConfig. Reason: An item with the same key has already been added.
Server error message: An item with the same key has already been added
Policies.xml or PVConfigurations.xml conatins a duplicate policy entry.
Open the Policies.xml or PVConfigurations.xml file (in safe PVWAConfig) and look for duplicate policies. Remove any duplicate policies then restart IIS and CPM
OR you can revert one of the files (Policies.xml, PVConfigurations.xml) via PrivateArk client
1. Login to PA client
2. PVWAConfig safe
3. Right click Policies.xml or PVConfigurations.xml (whichever you are reverting)
4. Versions -- A popup box will come up showing you a list of older versions of this file along with a timestamp
5. Select an earlier version
6. Select "Make Current Version"