PVWA - APPIC008E Failed to get application user session. Reason: CASTM058E Failed to lock credential file [D:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini] (diagnostic information: 1, 13).

PVWA - APPIC008E Failed to get application user session. Reason: CASTM058E Failed to lock credential file [D:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini] (diagnostic information: 1, 13).

191
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:02 PM


Symptom


PVWA won't load and the following error appears in the CyberArk.WebConsole.log:
APPIC008E Failed to get application user session. Reason: CASTM058E Failed to lock credential file [D:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini] (diagnostic information: 1, 13).


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1 PVWA all versions

Cause


The Credential Files cannot be opened for writing so the Web Application cannot establish connection to the vault

Resolution


There are 2 possible reasons for this.
 
1.Verify that CyberArk\Password Vault Web Access\CredFiles folder is excluded from Anti-Virus.  If it isn’t, exclude them and perform and IISRESET.
2.Verify the the PasswordVaultWebAccessPool is an owner with Full Control to CyberArk\Password Vault Web Access\CredFiles.

Note, as this user is special in the lookup window, search for:
IIS APPPOOL\PasswordVaultWebAccessPool

The search should return the User PasswordVaultWebAccessPool

Add the user with Full Control

After adding the user perform an IISRESET.


Additional Information


Details

SYMPTOM:

PVWA Wont Load and the following error appears in the CyberArk.WebConsole.log:  APPIC008E Failed to get application user session. Reason: CASTM058E Failed to lock credential file [D:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini] (diagnostic information: 1, 13).


PROBLEM:

The Credential Files cannot be opened for writing so the Web Application cannot establish connection to the vault

 

SOLUTION:

There are 2 possible reasons for this.

 

1.  Verify that CyberArk\Password Vault Web Access\CredFiles folder is excluded from Anti-Virus.  If it isn’t, exclude them and perform and IISRESET.


2.  Verify the the PasswordVaultWebAccessPool is an owner with Full Control to CyberArk\Password Vault Web Access\CredFiles.


This user is special so in the look up window you need to search for: IIS APPPOOL\PasswordVaultWebAccessPool
The search should return the User PasswordVaultWebAccessPool

Add the user with Full Control

After adding the user perform an IISRESET.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000zQ7CAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail