Various error codes (VLTS046E - VLTS050E - VLTS047E) encountered when upgrading PVWA
198
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:59 PM
Symptom
When upgrading the PVWA, the following errors are detailed in the 'RegisterInstance.log' file:
ERROR - VLTS046E Failed to add <PVWAAppUser> public key to the vault. Description: SRAPIE0006 Internal execution error.
ERROR - VLTS050E Failed to update <PVWAAppUser> public key in the vault. Description: Failed to execute command: An error occurred while trying to perform command UpdateUserAuthnKeyCommand.
ERROR - VLTS047E Failed to add or update <PVWAAppUser> public key to the vault.
ERROR - VLTS050E Failed to update <PVWAAppUser> public key in the vault. Description: Failed to execute command: An error occurred while trying to perform command UpdateUserAuthnKeyCommand.
ERROR - VLTS047E Failed to add or update <PVWAAppUser> public key to the vault.
Environment
Component: Password Vault Web Access (PVWA) Functional Area: Upgrade
Cause
N/A
Resolution
The executable 'ApiKeyManager.exe' is used to manage the API key for the CyberArk Components. Revoke and then regenerate the API key for the <PVWAAppUser> User:
1. On the PVWA Server
- Open an Administrator: Command Prompt
- Navigate using cd to the '<DRIVE>:\CyberArk\Password Vault Web Access\CredFiles' directory
- Stop the PVWA Web Service
iisreset /stopNote: You can stop the PVWA via Services.msc by stopping the World Wide Web Publishing Service
Note: The <PVWAAppUser> Username can be found in the credentials file (appuser.ini), which is located in the '<DRIVE>:\CyberArk\Password Vault Web Access\CredFiles' directory
- Revoke the API key (apigw.ini)
..\Env\ApiKeyManager.exe revoke -t <PVWAAppUser> -u Administrator -a "https://<PVWA>/PasswordVault/api/"
- Recreate the API key (apigw.ini)
..\Env\ApiKeyManager.exe add -f apigw.ini -t <PVWAAppUser> -u Administrator -a "https://<PVWA>/PasswordVault/api/"
- Start the PVWA Web Service
iisreset /start
2. Rerun the PVWA setup.exe and select the Repair option
# ERRORS #
Please make sure that the 'Administrator' account is not currently in use. Sign in to the PrivateArk Client, then perform a Logoff to end all sessions that may be open with the 'Administrator' account.
Note: You MUST use a CyberArk authentication account to perform this operation.