CASSM003E Session for user PVWAAppUser exists but it is not an agent session
151
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 13:01 PM
Symptom
PVWA does not load and the following error is found in the log:
CASSM003E Session for user PVWAAppUser exists but it is not an agent session
This can also occur for PSM with the PSMGw and PSMApp users. Example of PSM error:
Error: CASAS011E Create session failed. Reason: CASSM003E Session for user PSMApp exists but it is not an agent session., -1)
CASSM003E Session for user PVWAAppUser exists but it is not an agent session
This can also occur for PSM with the PSMGw and PSMApp users. Example of PSM error:
Error: CASAS011E Create session failed. Reason: CASSM003E Session for user PSMApp exists but it is not an agent session., -1)
Environment
10.5;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 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
There is a configuration problem with the credential files.Either the web.config file has the incorrect path to the credential files or the credential files have the incorrect user in them.
For PSM the vault.ini file in PSM\Vault could point to the wrong cred file For example, if the PVWAAppUser is in the gwuser.ini file, you will see this error.
Resolution
Correct the credfile path or user.
Steps for manually resetting the credential file can be found in the following articles:
- 000003701 - PVWA – How can I create or update the credential files (credfile) for the PVWA manually? (12.0 or below ONLY)
- 000018324 - PVWA – How can I create or update the credential files (credfile) for the PVWA manually? VERSION 12.1 ONLY
- 000010240 - PSM - How can I create or update the credential files (credfile) for the PSM manually? (12.0 AND BELOW)
- 000018232 - PSM - How can I create or update the credential files (credfile) for the PSM manually? (12.1 AND HIGHER)
Additional Information
Details
SYMPTOM:
PVWA does not load and the following error is found in the log.
CASSM003E Session for user PVWAAppUser exists but it is not an agent session
This can also occur for PSM with the PSMGw and PSMApp users. Example of PSM error:
Error: CASAS011E Create session failed. Reason: CASSM003E Session for user PSMApp exists but it is not an agent session., -1)
This can also occur for PSM with the PSMGw and PSMApp users. Example of PSM error:
Error: CASAS011E Create session failed. Reason: CASSM003E Session for user PSMApp exists but it is not an agent session., -1)
PROBLEM:
There is a configuration problem with the credential files. Either the web.config file has the incorrect path to the credential files or the credential files have the incorrect user in them.
For PSM the vault.ini file in PSM\Vault could point to the wrong cred file
For PSM the vault.ini file in PSM\Vault could point to the wrong cred file
For example, if the PVWAAppUser is in the gwuser.ini file, you will see this error.
SOLUTION:
Correct the credfile path or user.
Steps for manually resetting the credential file can be found in the following articles:
000003701 - PVWA – How can I create or update the credential files (credfile) for the PVWA manually? (12.0 or below ONLY)
000018324 - PVWA – How can I create or update the credential files (credfile) for the PVWA manually? VERSION 12.1 ONLY
000010240 - PSM - How can I create or update the credential files (credfile) for the PSM manually? (12.0 AND BELOW)
000018232 - PSM - How can I create or update the credential files (credfile) for the PSM manually? (12.1 AND HIGHER)
000003701 - PVWA – How can I create or update the credential files (credfile) for the PVWA manually? (12.0 or below ONLY)
000018324 - PVWA – How can I create or update the credential files (credfile) for the PVWA manually? VERSION 12.1 ONLY
000010240 - PSM - How can I create or update the credential files (credfile) for the PSM manually? (12.0 AND BELOW)
000018232 - PSM - How can I create or update the credential files (credfile) for the PSM manually? (12.1 AND HIGHER)