diff --git a/DNN Platform/Library/Entities/Portals/PortalInfo.cs b/DNN Platform/Library/Entities/Portals/PortalInfo.cs index 7a2df7f9671..82368eb2d91 100644 --- a/DNN Platform/Library/Entities/Portals/PortalInfo.cs +++ b/DNN Platform/Library/Entities/Portals/PortalInfo.cs @@ -22,6 +22,7 @@ using System; using System.Data; +using System.Security.Cryptography; using System.Xml.Serialization; using DotNetNuke.Common; @@ -811,7 +812,12 @@ public void Fill(IDataReader dr) ? p : Security.FIPSCompliant.DecryptAES(p, Config.GetDecryptionkey(), Host.Host.GUID); } - catch(FormatException) + catch (FormatException) + { + // for backward compatibility + ProcessorPassword = p; + } + catch(CryptographicException) { // for backward compatibility ProcessorPassword = p;