[CLOSED] MVC issues with getting ext.axd

  1. #1

    [CLOSED] MVC issues with getting ext.axd

    Has anyone seen this issue. It seems like the route is trying to grab files from a folder that doesn't exist or it's not being handled correctly.

    Failed to load resource: the server responded with a status of 404 (Not Found)
    http://localhost:2186/extnet/extnet-...xt.axd?v=25767


    Web.config
    <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>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
          <remove name="DirectRequestModule" />
          <add
                    name="DirectRequestModule"
                    preCondition="managedHandler"
                    type="Ext.Net.DirectRequestModule, Ext.Net"
                    />
        </modules>
        <handlers>
          <remove name="DirectRequestHandler" />
            <add
                    name="DirectRequestHandler"
                    verb="*"
                    path="*/ext.axd"
                    preCondition="integratedMode"
                    type="Ext.Net.ResourceHandler"
                    /> 
        </handlers>
      </system.webServer>
    Global.ascx.cs

     public static void RegisterRoutes(RouteCollection routes)
            {
                routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
    
                routes.MapRoute(
                    "Default", // Route name
                    "{controller}/{action}/{id}", // URL with parameters
                    new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
                );
    
            }
    Last edited by geoffrey.mcgill; Jun 06, 2012 at 2:45 PM. Reason: [CLOSED]
  2. #2
  3. #3
    Quote Originally Posted by Daniil View Post
    Perfect, thanks!!!!

Similar Threads

  1. [CLOSED] Layout issues
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Aug 03, 2012, 1:04 PM
  2. [CLOSED] More Layout Issues
    By FAS in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 27, 2012, 7:20 PM
  3. [CLOSED] IE9 Issues
    By pint in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 19, 2011, 12:03 PM
  4. [CLOSED] IE9 issues
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Mar 28, 2011, 7:06 PM
  5. [CLOSED] [1.0] Multiple issues with 1.0
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Jan 26, 2010, 10:52 AM

Posting Permissions