我在web.config中添加了以下内容:
<configuration>
<runtime>
<enforceFIPSPolicy enabled="false" />
</runtime>
</configuration>
但是,我仍然会收到以下fips错误:
Type : System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
Source : mscorlib
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
HResult : -2146233079
Stack Trace :
Server stack trace:
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
at Model.User.EncryptPassword(String password) in c:\Model\ComposerModel\User.cs:line 87
at Model.User.ConfirmPassword(String password) in c:\User.cs:line 103
我的web应用程序是.net 4上的silverlight应用程序