AjaxPro does not work. NET Framework 4.0 and Server 2008 / IIS 7

I am using AjaxPro and AjaxControlToolkit in my project. My project usually runs on server 2003 with IIS 6. But when I uploaded my project to Server 2008, I get an "AjaxPro undefined" error. My project is running .Net Framework 4.0 Classic Mode.

I tried this one , but my project is not working yet.

+3
source share
1 answer

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.

+5
source

Source: https://habr.com/ru/post/1794766/


All Articles