I found this code on the Internet and tried this;
<location path="ajaxpro">
<system.webServer>
<handlers>
<add name="*.ashx_*" path="*.ashx" verb="*" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" preCondition="integratedMode,runtimeVersionv2.0"/>
</handlers>
</system.webServer>
</location>
and it works fine on IIS 7 and Server 2008 and the .NET Framework 4.0 and in classic mode.
source
share