I am trying to compile my program in visual studio and I am getting a FIPS Cryptographic algorithms error. I have checked the registry key and it is set to false.
Any suggestions?
I am trying to compile my program in visual studio and I am getting a FIPS Cryptographic algorithms error. I have checked the registry key and it is set to false.
Any suggestions?
I had a hard time with this too. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
. Under a subkey you should see FipsAlgorithmPolicy
. DELETE this registry entry and restart visual studio.
You can fix this by adding <enforceFIPSPolicy enabled="false"/>
under the runtime
section in the .config files of:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe.config
)C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config
)My answer was to change the registry key from 1 to 0 here:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\fipsalgorithmpolicy
Question is a bit general. My more specific error:
AppContainer Creation Failed with error message NONE, state This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Microsoft explains and lists a workaround here:
Open Web.config Locate the system.web section
Add the key:
*<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"/>*
Save Web.Config, then iisreset from the command prompt.
Assumption is that company policy has set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\fipsalgorithmpolicy
with a value of 1
(and of course, that IIS is running)
Would be nice to know why this effects the installation of Python and R on Windows SQL Server 2019.