SecureAuth IdP Version Affected: All SecureAuth Versions (Backup Tool Version 2.4.1)
Description: When trying to run the backup tool, it does not pass the .Net Framework version check.
Cause: The backup tool is unable to check for .NetFramework versions above 4.6.1.
Resolution: Open up the backup tool on a administrator level notepad. Ctrl+F 394271 to locate the part of the script that checks the .NetFramework version. As you can see, it only checks up to .Net Framework 4.6.1. We will need to add the proper .Net Framework version in order to pass the check.
There are three areas in this script that checks for the .Net Framework version. Once for a minimum backup, second for a full backup, and a third time for the restore. Make the change on one and copy and paste it over to the other sections so all three have updated .Net Framework version checks.
IF [%_DotNetReleaseDec%] EQU [394802] (
SET _DotNetReleaseVer=4.6.2
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [394806] (
SET _DotNetReleaseVer=4.6.2
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [460798] (
SET _DotNetReleaseVer=4.7
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [460805] (
SET _DotNetReleaseVer=4.7
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [461308] (
SET _DotNetReleaseVer=4.7.1
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [461310] (
SET _DotNetReleaseVer=4.7.1
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [461808] (
SET _DotNetReleaseVer=4.7.2
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [461814] (
SET _DotNetReleaseVer=4.7.2
SET _DotNetSupportedVer=TRUE
)
IF [%_DotNetReleaseDec%] EQU [528049] (
SET _DotNetReleaseVer=4.8
SET _DotNetSupportedVer=TRUE
)
The values that are next to the .NetRelease are values that can be viewed here. https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
These values must match along with the .NetFramework version on your Registry Editor. Now after saving these changes, you will be able to properly run the backup tool.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
Please sign in to leave a comment.