The web.config file for this project is missing the required AjaxRequestModule.

Page 1 of 2 12 LastLast
  1. #1

    The web.config file for this project is missing the required AjaxRequestModule.

    The topic describes the problem

    I've just today moved my website from a hosting company to my own web server. I've spent all day learning how to set up a asp.net website, sql server and so on.

    Now I'm dealing with one of the last problems. This error message pops up everywhere on my website:

    The web.config file for this project is missing the required AjaxRequestModule.

    Example

    <system.web>
      <httpModules>
        <add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />
      </httpModules>
    </system.web>
    
    More information available at "Getting Started".
    And none of the Coolite-code works. I've tried removing the .dll-files, and downloading new ones, without any results. Then I thought it might be that I didn't have AJAX installed on the server. So I downloaded Ajax 1.0 and installed, but the error remains.

    Any ideas?

  2. #2

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    Yesterday only I got the same problem and this is what I did:
    I went to web.config and added following entries:

    under tag

    <httpHandlers>

    added:

    <add path="*/coolite.axd" verb="*" type="Coolite.Ext.Web.ResourceManager" validate="false"/>
    and under tag

    <httpModules>

    added:

    <add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web"/>
    and it start working.

    Make sure you have coolite references dll - if not - try to add coolite component from Toolkit - it will add it.

  3. #3

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    Already have both those lines and all the .dll-files.

    The problem is that everything worked fine when I had it on another host server. Now, when I've moved it to my own, I get this error message.

    Why?
  4. #4

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    The problem persists, do you have any other suggestions? I am running the website on IIS 7 if that makes any difference.
  5. #5

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    I have had success in running Coolite 0.6, 0.7 &amp; 0.8 on all of IIS 5, 6 &amp; 7. Here are the steps you should keep in mind:

    FOR IIS 6.0 and earlier

    Add the following to <httpModules> section under <system.web> section in web.config:

    <add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />
    Add the following to <httpHandlers> section under <system.web> section in web.config:

    <add path="*/coolite.axd" verb="*" type="Coolite.Ext.Web.ResourceManager" validate="false" />
    FOR IIS 7.0, add the following to <system.webServer>

    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <add name="AjaxRequestModule" preCondition="managedHandler" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />
        </modules>
        <handlers>
            <add name="AjaxRequestHandler" verb="*" path="*/coolite.axd" preCondition="integratedMode" type="Coolite.Ext.Web.ResourceManager"/>
        </handlers>
    </system.webServer>
  6. #6

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    Thank you r_honey, that solved my problem!
  7. #7

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    Thanks a ton r_honey! Solved my problem with IIS 7.

    I had recently installed VS 2010 beta and then uninstalled. I kind of assumed that the 404 errors for coolite.axd files had something to do with this and was troubleshooting in the wrong areas.

    Anyways, for Coolite errors, now I realize that I need to check out the forums first before trying to be very brave!!!

    The guys in the forums here are awesome.
  8. #8

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    to be safe can i add the sections for both IIS6 and IIS7?? Or is it one or the other? Our application is deployed to both IIS6 and IIS7 and it's a pain to manually set those of every deployment.

  9. #9

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    Yes jchau, you can safely add the sections for both IIS 6 &amp; 7 without any issues (that's the way I do it, because again my app gets deployed to any of those).

    IIS ignores the configuration section in web.config that it does not understand. IIS 6 ignores <system.webServer>, whereas IIS 7 ignores <system.web>.
  10. #10

    RE: The web.config file for this project is missing the required AjaxRequestModule.

    Hi r_honey,

    I also struggled with same problem. I also hosted my coolite application on Win2008 / IIS7 server.
    I did the changes suggested by you.

    It is working fine.

    Great Answer! Thank You!

    Regards,
    Gopal.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: May 24, 2012, 5:18 AM
  2. Replies: 0
    Last Post: May 10, 2012, 1:33 AM
  3. Replies: 2
    Last Post: Dec 19, 2011, 8:38 AM
  4. Replies: 4
    Last Post: Oct 27, 2009, 6:15 AM
  5. Replies: 5
    Last Post: Jul 06, 2009, 3:02 PM

Posting Permissions