Ramblings & Controls from a .NET Addicted Freak!

Kevin Gearing's Blog

FormShield & IIS 7

Yes, I'm still around! - but I have been pretty busy at work over the last few months, however as FormShield and IIS 7 keeps coming up, I thought it was about time that I added a quick blog post!

The good news is that FormShield works fine with IIS 7, but you do need to make a configuration change...

You can either change the application pool that the Web site uses to the Classic .NET application pool or move the <httpHandlers> section under <system.web> of the web.config file to the new IIS 7 <handlers> section under <system.webServer>.

i.e. change:


<httpHandlers> <add path="FormShield.aspx" verb="GET" type="dotNetFreak.WebControls.FormShieldHttpHandler, dotNetFreak.WebControls.FormShield" />






<add name="FormShieldHttpHandler" path="FormShield.aspx" verb="GET" type="dotNetFreak.WebControls.FormShieldHttpHandler" resourceType="Unspecified" />



and it should work fine.

Thanks to Nick Eales and Mike Sloan for pointing this out.

Also, a good article on ASP.NET integration with IIS 7 can be found at:

Published Feb 10 2009, 10:44 AM by dotNetFreak
Filed under:


No Comments
Copyright ©2004-2007 Kevin Gearing. All Rights Reserved.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems