- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
02-07-2020 01:14 PM
I'm using psPAS, I used Cyberark authentication to establish my session. When I tried to use the Add-PASAccount cmdlet I'm getting this error.
Invoke-PASRestMethod : [500] Failed to open log file [E:\PVWA\Logs\CyberArk.WebApplication.log]. Code [5]
At line:480 char:13
+ ... $result = Invoke-PASRestMethod -Uri $URI -Method POST -Body $Body - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ({"ErrorCode":"C...og]. Code [5]"}:ErrorRecord) [Invoke-PASRestMethod], Ex
ception
+ FullyQualifiedErrorId : CASLG004E,Invoke-PASRestMethod
I'm guessing it has something to do with the account being used not having permissions, but its a VaultAdmin and seems to be hung up trying to write to the PVWA\Log files.
02-07-2020 02:47 PM
Responses with a status code of 500 are usually due to server or web service configuration.
CASLG004E is the error code from the operation, for which there is this article:
https://community.cyberark.com/s/article/PVWA-Servers-are-not-loading
If you think there is an issue with the module, feel free to log an issue on the project site: https://github.com/pspete/psPAS/issues
02-07-2020 02:47 PM
Responses with a status code of 500 are usually due to server or web service configuration.
CASLG004E is the error code from the operation, for which there is this article:
https://community.cyberark.com/s/article/PVWA-Servers-are-not-loading
If you think there is an issue with the module, feel free to log an issue on the project site: https://github.com/pspete/psPAS/issues
02-08-2020 11:14 AM
Your PVWA might be broken. Other logins (to the normal web UI) work? Did you check the PVWA and IIS logs?
02-10-2020 09:08 AM
Added permissions for the PasswordVaultWebAccessPool to the pvwa logs directory, which I had moved and this resolved my problem.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

