Snap to System.InvalidOperationException
Istransient=false
Message= This implementation is not part of the Windows platform FIPS-validated cryptographic algorithm.
Source=mscorlib
StackTrace:
In System.Security.Cryptography.MD5CryptoServiceProvider. ctor ()
Although I do not understand the reason, the solution is: Modifythe registry: Hkey_local_machine\system\currentcontrolset\control\lsa\fipsalgorithmpolicy Enable=0.
I encountered a local IIS debugging Web site, and after modifying the registry it is not immediately effective and requires recycling the site's process pool (no need to restart the site) before it takes effect.
System.InvalidOperationException:This implementation is not part of the Windows Platform FIPS validated cryptographic ALG Orithms.
Find Materials: http://blogs.msdn.com/b/shawnfa/archive/2005/05/16/417975.aspx
http://blogs.msdn.com/b/brijs/archive/2010/08/10/ Issue-getting-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-exception-w Hile-building-outlook-vsto-add-in-in-vs-2010.aspx
Instantiation MD5CryptoServiceProvider Error: This implementation is not part of the Windows platform FIPS-validated cryptographic algorithm