Search This Blog

Parse Error - While compiling / debugging ASP.Net application

Working in .Net 2.0, Recently, I came across one problem; a FIPS (Federal Information Processing Standards) related error on the .aspx pages which were having debug=”true”.

My ASP.net application was hosted on IIS7 running on WindowsXP. further I was using Visual Studio 2005 Professional Edition. Even I was not able to compile my project.

Error was:
“Parser Error Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.” when .net page has debug=”true”

and Error screen-shot was:


To resolve the problem,

(1) Goto Run window in Start Menu and type "regedit" to open Registry editor.
(2) Find key fipsalgorithmpolicy in [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
Its value would be dword:00000001 => which mean
(3) Remove key "fipsalgorithmpolicy"

Enjoy

PS:
(1) When I fixed this problem by searching online, I thought to share on blog and wrote it in my words. Originally this solution is not identified by code4coder.com
(2) @Code4Coder we share day to day programming issues and problems in .Net, C#, ASP.Net (Ajax, JavaScript, jQuery, WebForms, WebServices), VB.Net, Oralce SQL, Oracle PL/SQL.

No comments:

Post a Comment