PVWA - Object reference not set to an instance of an object

PVWA - Object reference not set to an instance of an object

201
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:07 PM


Symptom


PVWA website is not able to load with error:
Server Error in '/PasswordVault' Application.
Object reference not set to an instance of an object.

Example:
image.png


Environment


10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA 

Cause


PVWAAppUser doesn't have proper permission to PasswordManagerShared safe.

Error in PVWA.App.log:
2023-03-18 00:55:50,199 ERROR [26]  f81eba6b-8489-444b-b150-14ee1d5ef496  EPVDL001E Error loading configuration files: Cred file=D:\CyberArk\Password Vault Web Access\CredFiles\appuser.ini. Configuration safe=PVWAConfig. Reason: ITATS245E Visual security is disabled for User PVWAAppUser on Safe PasswordManagerShared.

2023-03-18 00:55:50,200 ERROR [26]  f81eba6b-8489-444b-b150-14ee1d5ef496  EPVDL006E Error in Application Start. Reason: System.NullReferenceException: Object reference not set to an instance of an object.
 


Resolution


Add PVWAAppUser user to PasswordManagerShared Safe with Monitor Safe & Retrieve files from Safe (List Files, Retrieve Files, View Audit, View Owners) permissions.
  • Login via PrivateArk Client with Administrator user.
  • Right mouse click on PasswordManagerShared safe and select Open.
  • Right mouse click on PasswordManagerShared safe and select Owners....
  • Click Add..., select PVWAAppUser on the left and click on right arrow button image.png to add the user.
  • On Authorized to, tick Monitor Safe & Retrieve files from Safe.
  • Click Advance..., tick List Files, Retrieve Files, View Audit, View Owners
  • Click OK - OK - Closed
  • Right mouse click on PasswordManagerShared safe and select Close.
Restart IIS - IISRESET


Actions
  • Print
  • Copy Link

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