PVWA - Error "Several errors occurred during environment creation" when upgrading PVWA
121
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:05 PM
Symptom
When upgrading PVWA, after "Updating Server environment", an error pops up:
"Several errors occurred during environment creation. Check the logs at C:\Cyberark\Password Vault Web Access\Env\Log"
The upgrade continues and is completed.
Checking the log at "C:\CyberArk\Password Vault Web Access\Env\Log\ConfigureInstance.log", you might see following errors:
2024-07-08 14:18:11,353 ERROR - INFA042 Failed to handle config file applicationHost.config. Error details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at CyberArk.PVWAInstall.Infra.XmlEditor.GetXmlNode(String nodeXpath, XmlNamespaceManager nsManager)
at ConfigureInstance.ApplicationHostConfig.Versions.AppHost_14_00_00.ExecuteChanges()
at CyberArk.PVWAInstall.Infra.ConfigFiles.BaseConfigFileManager`1.UpgradeConfigFile()
at CyberArk.PVWAInstall.Infra.ConfigFiles.BaseConfigFileManager`1.Execute().
Checking the log at "C:\Users\{user}\AppData\Local\Temp\PVWAInstallError.log", you might see the following error:
7-8-2024, 14:18:11: process ConfigureInstance failed with rc: -3
Environment
12.2;12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access Password Vault Web Access Upgrade
Cause
The issue arises from the inability to retrieve the version number from the configuration.
Resolution
This error can be safely ignored.