PVWA v10 interface keeps redirecting back to Accounts Page
105
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:53 PM
Symptom
After upgrading to PVWA 11.2, customer experienced problem loading up PVWA v10 interface
The problem could be
1 It keep redirecting back to Account page regardless whatever they choose form the left side navigation bar except Accounts, System Health and User Provisioning.
Or
2 it stuck in a infinite loop of loading up the page page when they select PVWA v10--> Options
Or
3 It shows a "This page can’t be displayed" error
[xx/02/2xxx | 10:xx:01.431197] | {pid= 7696} | {tid= xxxx } | :: | EPVDL005E
Application Error! Page=[https://127.0.0.1/PasswordVault/errorpage.aspx?
Data=xxxxxxxxxxx] Error=[When using <machineKey compatibilityMode="Framework45" /> or
the MachineKey.Protect and MachineKey.Unprotect APIs, the 'validation' attribute must
be one of these values: SHA1, HMACSHA256, HMACSHA384, HMACSHA512, or alg:
[KeyedHashAlgorithm].
(C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config line 392)] Stack
Trace=[ at System.Web.Security.Cryptography.MachineKeyCryptoAlgorithmFactory.GetGenericAlgorithmFa
ctory[TResult](String configAttributeName, String configAttributeValue, Func`2
switchStatement, String errorResourceString)Environment
11.2 Password Vault Web Access, Windows 2012 R2, .Net 4.5.2 or .Net 4.6.2
Cause
It is a known restriction in Microsoft .net framework. 4.5 or above
When compatibilityMode property is set to Framework45, the following restrictions are in effect:
The Validation attribute must be an actual validation algorithm (for example, MD5, SHA1, HMACSHA256, HMACSHA384, HMACSHA512) or a custom algorithm that subclasses the KeyedHashAlgorithm type. The values AES and 3DES are forbidden.
Pleae refer to:
https://docs.microsoft.com/en-us/dotnet/api/system.web.configuration.machinekeysection.compatibilitymode?view=netframework-4.5.2
Resolution
Solution
1 From IIS, find Feature View--> Machine key-->validation method
2 Change it to one of below
SHA1, HMACSHA256, HMACSHA384, HMACSHA512
3 As SHA1 is considered less secured, HMACSHA256 or above are recommended.