After doing a lot of research (googling) I solved my FIPS security problem. I had to piece together the solution from several different sources. Here's the complete solution that worked for me, in case anyone else has the issue:
in Web.config, make following settings:
Code:
<system.web>
<machineKey validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps"
validation="3DES" decryption="3DES"/>
The above change is necessary to switch from AES to 3DES. Apparentlty, on FIPS compliant systems, AES will not work. ** important, if application is deployed in IIS, then it must be restarted after this setting with iisreset at command prompt, run as admin.
The other setting in web.config is turn off Debug. FIPS exception will be thrown if Debug is true. So it must be set to false.
Code:
<compilation debug="false">
If using Ajax or the ScriptManager for anything in the website, FIPS exception is still thrown because of hashing algorithms not being FIPS compliant. Fortunately there is a hotfix patch to correct this problem. If using ScriptManager for anything, this patch will make it FIPS compliant when installed on the Webserver:
KB981119 - ScriptModule throws FIPS exception on Win 7
http://archive.msdn.microsoft.com/KB...ReleaseId=4066
The above solutions is really good for any system that requires FIPS, like in government settings.
Thank you.