PVWA does not load after skipping environment creation
Symptom
After installing the PVWA while skipping the environment creation, the PVWA does not load and the logs show the following error:
CASTM058E Failed to lock credential file [C:\CyberArk\Password Vault Web Access\CredFiles\] (diagnostic information: 1, 0).
Environment
11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
If the administrator password is not entered during the installation, the installer does not put valid values in the web.config file for the credential files (appuser.ini and gwuser.ini) or the PVWA configuration safe (PVWAConfig).
Resolution
- Browse to the web.config file, located in C:\inetpub\wwwroot\PasswordVault
- Add in the name of the credential file you created for the PVWAGWUser to the following line:
- Add in the name of the credential file you created for the PVWAAppUser to the following line:
- Add in the name of the safe where the PVWA configuration files are stored to the following line:
Additional Information
Details
SYMPTOM:
After installing the PVWA while skipping the environment creation, the PVWA does not load and the logs show the following error:
CASTM058E Failed to lock credential file [C:\CyberArk\Password Vault Web Access\CredFiles\] (diagnostic information: 1, 0).
PROBLEM:
If the administrator password is not entered during the installation, the installer does not put valid values in the web.config file for the credential files (appuser.ini and gwuser.ini) or the PVWA configuration safe (PVWAConfig).
SOLUTION:
1. Browse to the web.config file, located in C:\inetpub\wwwroot\PasswordVault
2. Add in the name of the credential file you created for the PVWAGWUser to the following line:
<add key="GWFile" value="C:\CyberArk\Password Vault Web Access\CredFiles\" />
3. Add in the name of the credential file you created for the PVWAAppUser to the following line:
<add key="ConfigurationCredentialFile" value="C:\CyberArk\Password Vault Web Access\CredFiles\" />
4. Add in the name of the safe where the PVWA configuration files are stored to the following line:
<add key="ConfigurationSafeName" value="" />