PVWA cred files cannot rotate - error CASPR001E
113
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:07 PM
Symptom
PVWA is not able to rotate credentials for the Application or Gateway users. The following errors are seen in logs:
CASPR001E Error parsing parameters file (Location:CCAGParmsStreamFile.cpp:180), Reason: Parms file [C:\CyberArk\Password Vault Web Access\CredFiles\gwuser.ini] open for write failed.
CASCF001E Failed to write credential file [C:\CyberArk\Password Vault Web Access\CredFiles\gwuser.ini]. Reason: CASPR001E Error parsing parameters file (Location:CCAGParmsStreamFile.cpp:180), Reason: Parms file [C:\CyberArk\Password Vault Web Access\CredFiles\gwuser.ini] open for write failed.
CASTM053E Unexpected error in ChangeToRandomPasswordFromFile: [New password could not be written to file] code [4], Reason: CASCF001E Failed to write credential file [C:\CyberArk\Password Vault Web Access\CredFiles\gwuser.ini]. Reason: CASPR001E Error parsing parameters file (Location:CCAGParmsStreamFile.cpp:180), Reason: Parms file [C:\CyberArk\Password Vault Web Access\CredFiles\gwuser.ini] open for write failed.. (Vault [CAMainVault] user [PVWAGWUser])
Environment
10.8;12.2;12.6;13.0;14.2;14.4;14.6 Component: Password Vault Web Access Functional Area: Other
Cause
The application pool user running the PasswordVault application does not have access to the credential files.
Resolution
1. Make sure the PasswordVault application is running under the PasswordVaultWebAccessPool
a . Open IIS Manager
b. Navigate to the PasswordVault application under the Default Site
c. Right-click on PasswordVault and select Manage Application > Advanced
d. Make sure the correct application pool is set
2. Verify that the Security settings on the credential files give Modify permissions to the application poolb. Navigate to the PasswordVault application under the Default Site
c. Right-click on PasswordVault and select Manage Application > Advanced
d. Make sure the correct application pool is set