標籤:text number date validate controls art 編輯 otn 就是
解決“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”
還是裝那台伺服器,裝好了IIS和ASP.NET,但在運行aspx頁面時出現了異常:
異常資訊: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
上網搜尋一下,有以下幾種方案:
1.用組策略編輯器關閉FIPS:gpedit.msc,改成禁用
結果:我的本來就是禁用,此方案無效。
2.將DOTNET Framework停用FIPS。
(1)修改Web.config增加
<configuration> <runtime> <enforceFIPSPolicy enabled="false"/> </runtime></configuration>
結果:無效
(2)修改C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config,增加與(1)相同的內容
結果:無效
3.修改註冊表:
(1):HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa:FipsAlgorithmPolicy=0;
(2):HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy:enabled=0;
結果:我的(1)是1,(2)本來就是0,把(1)改成0後,問題解決。
解決“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”