Ext.Net MVC could not find Ext.axd 404 on IIS

  1. #1

    Ext.Net MVC could not find Ext.axd 404 on IIS


    We are getting a 404 error on ext.axd. Specifically the following errors

    GET ...HealthChecker/extjs/ext-all-js/ext.axd?v=41185 404 (Not Found)
    GET ...HealthChecker/extjs/resources/ext_theme_gray/ext-theme-gray-all-embedded-css/ext.axd?v=41185 404 (Not Found)
    GET ...HealthChecker/extnet/resources/css/extnet-all-embedded-css/ext.axd?v=41185 404 (Not Found)
    GET ...HealthChecker/extnet/extnet-all-js/ext.axd?v=41185 404 (Not Found)
    Uncaught ReferenceError: Ext is not defined

    Here is our web.config

    <?xml version="1.0" encoding="utf-8"?>
      For more information on how to configure your ASP.NET application, please visit
        <section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
        <add name="DataAccessLive" providerName="System.Data.SqlClient" connectionString="Data Source=USHOLWHOBADEV01;Integrated Security=SSPI;Initial Catalog=CrunchTime_Interface;"/>  
        <add key="webpages:Version" value="" />
        <add key="ClientValidationEnabled" value="true" />
        <add key="UnobtrusiveJavaScriptEnabled" value="true" />
        <compilation targetFramework="4.0">
            <add assembly="System.Web.Abstractions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Helpers, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Routing, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add assembly="System.Web.WebPages, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <authentication mode="Forms">
          <forms loginUrl="~/Account/LogOn" timeout="2880" />
            <add namespace="System.Web.Helpers" />
            <add namespace="System.Web.Mvc" />
            <add namespace="System.Web.Mvc.Ajax" />
            <add namespace="System.Web.Mvc.Html" />
            <add namespace="System.Web.Routing" />
            <add namespace="System.Web.WebPages" />
          <add namespace="Ext.Net" /><add namespace="Ext.Net.MVC" /></namespaces>
        <controls><add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext" /></controls>
    	<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" />
    	<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="" newVersion="" />
                <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
                <bindingRedirect oldVersion="" newVersion="4.5.11" />
                <assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23" />
                <bindingRedirect oldVersion="" newVersion="2.2.1" />
                <assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7" />
                <bindingRedirect oldVersion="" newVersion="2.1.1" />
    <extnet theme="Gray" /></configuration>
    Here is our global.asax

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.Mvc;
    using System.Web.Routing;
    namespace HealthInterface
        // Note: For instructions on enabling IIS6 or IIS7 classic mode, 
        // visit http://go.microsoft.com/?LinkId=9394801
        public class MvcApplication : System.Web.HttpApplication
            public static void RegisterGlobalFilters(GlobalFilterCollection filters)
                filters.Add(new HandleErrorAttribute());
            public static void RegisterRoutes(RouteCollection routes)
                    "Default", // Route name
                    "{controller}/{action}/{id}", // URL with parameters
                    new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
            protected void Application_Start()
            protected void Application_AuthenticateRequest(object sender, System.EventArgs e)
                // Skip authenticating all ext.axd embedded resources (.js, .css, images)
                if (HttpContext.Current.Request.FilePath.EndsWith("ext.axd"))
                    HttpContext.Current.SkipAuthorization = true;
    Our solution runs well on Visual Studios. The problem occurs when we try and set it up on IIS 6.

    If someone could please provide some insight/suggestion that'd be greatly appreciated. We've been debugging over day and couldn't find a solution on this fourm and internet.

  2. #2

    Issue resolved


    We were able to resolve this by creating a web site in iis. Initially we had a virtual directory under the default web site . And the issue was that our ignore route exclude ext.axd in our global.asax file could not find the file to exclude due to the path ie localhost/HealthChecker/. By creating a web site the path changed to localhost/ and the ext.axd file was excluded. Hope this helps someone.


Similar Threads

  1. Cannot find AjaxEvents in Ext.net
    By lov_teddy in forum 1.x Help
    Replies: 1
    Last Post: Jan 27, 2011, 2:15 PM
  2. I find a bug in ext.net rc1 treepanel
    By huchaonian in forum 1.x Help
    Replies: 0
    Last Post: Nov 18, 2010, 6:35 AM
  3. Not Find 'DirectEvents'
    By sindevil0010 in forum 1.x Help
    Replies: 2
    Last Post: Aug 12, 2010, 3:36 AM
  4. I can not find the tabstrip why?
    By Fabrizio in forum 1.x Help
    Replies: 3
    Last Post: Jun 15, 2010, 3:49 PM

Tags for this Thread

Posting Permissions