PVWA - PVWA fails to load after upgrading to PVWA v13

PVWA - PVWA fails to load after upgrading to PVWA v13

71
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:53 PM


Symptom


After upgrading to PVWA v13.0.x, PVWA fails to load with Server Error in '/PasswordVault' Application - Runtime Error.

 

When checking Windows Application Event log, the following ASP.NET warning is thrown:

Exception message: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
       at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
       at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
       at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
       at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
       at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
       at System.Web.Compilation.BuildManager.ExecutePreAppStart()
       at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)

 



Environment


13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

PVWA 13.0.x



Cause


The issue is due to having unmatched Newtonsoft.Json version set in C:\inetpub\wwwroot\PasswordVault\web.config with the C:\inetpub\wwwroot\PasswordVault\Bin\Newtonsoft.Json.dll file.

 



Resolution


Update the Newtonsoft.Json version in C:\inetpub\wwwroot\PasswordVault\web.config from 13 to 11:

e.g.
From
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
      </dependentAssembly>

To
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>



Actions
  • Print
  • Copy Link

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