[CLOSED] Some users have message : Missing the required DirectRequestModule

  1. #1

    [CLOSED] Some users have message : Missing the required DirectRequestModule

    Hi,

    Some users (less than 1% of users) have the warning with the following message :
    "The web.config file for this project is missing the required DirectRequestModule ..."
    This append after a Response.Redirect("url", false).

    We only user IE (7, 8, 9) and error doesn't depend on IE version.

    Do you have any idea ?
    Last edited by Daniil; Dec 26, 2012 at 1:28 PM. Reason: [CLOSED]
  2. #2
    Hi @ddslogistics,

    There should be these things in Web.config. Please check.

    Example
    <system.web>
      <httpHandlers>
        <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false"/>
      </httpHandlers>
      <httpModules>
        <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net"/>
      </httpModules>  
    </system.web>
    <!-- 
      The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0.
      It is not necessary for previous version of IIS.
    -->
    <system.webServer>
      <validation validateIntegratedModeConfiguration="false"/>
      <modules>
        <add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
      </modules>
      <handlers>
        <add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
      </handlers>
    </system.webServer>
  3. #3
    Hi Daniil,

    Yes all this setup is done. For the same web site, some users have the error and the majority of users have not the error !
    I dont know why !
  4. #4
    It might be a cache issue.

    Please try
    X.Redirect("url");
    instead of
    Response.Redirect("url", false);

Similar Threads

  1. [CLOSED] DirectRequestModule problem when switching to svn dll
    By zwf in forum 2.x Legacy Premium Help
    Replies: 23
    Last Post: Sep 18, 2012, 11:27 AM
  2. Replies: 0
    Last Post: May 10, 2012, 1:33 AM
  3. Replies: 16
    Last Post: May 30, 2010, 1:13 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