Ext.axd icons sometimes not displayed

  1. #1

    Ext.axd icons sometimes not displayed

    Hi,

    I've a question concerning an application running with Ext.Net 5.2

    In general the icons of our navigation menu are displayed correctly (see Attachment "Icon-OK").
    But sometimes, these icons are not displayed at all (see Attachment "Icon-Missing").
    In this case, the URL of the icon seems to be damaged (see Attachment "Icon-Missing"), so that the file "ext.axd" can't be found anymore.

    We've found out, that restarting the application pool on IIS fixes the problem for some time (the icons are then displayed again, but hide again after some days).

    Do you know a way that these icons are always displayed, without needing to restart the application pool?

    Thanks,
    Arthur
    Attached Thumbnails Click image for larger version. 

Name:	Icon-OK.jpg 
Views:	99 
Size:	57.0 KB 
ID:	25480   Click image for larger version. 

Name:	Icon-Missing.png 
Views:	107 
Size:	53.1 KB 
ID:	25481  
  2. #2
    Hello @idsonline!

    This sounds like a misconfiguration in IIS that is "de-registering" Ext.NET resources handler for some reason. Maybe a session expiring or something like that?

    Something that will probably avoid this issue (and probably trigger other issues as Ext.NET resources or its own handler may stop working once the IIS request handler stops serving Ext.NET requests!) is using CDN resources instead of embedded ones.

    Try setting this in your Web.Config's <extnet /> block:

    renderScripts="CDN" renderStyles="CDN"
    The same settings can be set also individual pages' <ext:ResourceManager /> block (or Html.X().ResourceManager()) if you want to test the approach only for a specific page or set of pages.

    But back to the actual issue, I'm not sure what could make IIS stop honoring the "*/ext.axd" http handler setting in Web.config. Could it be there's some code in your website that dynamically adjust this kind of setting and may be overriding what's in your Web.config? You could probably find clues as to why IIS is stopping the handled by inspecting the Windows Server's Event Logs, but that might take a good skilled server admin to interpret these logs.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hi,

    thank you for the response. We've adapted the web.config as you have suggested - since the change in web.config the ext.axd icons have not been hidden.

    Concerning your response, what do you mean be "Could it be there's some code in your website that dynamically adjust this kind of setting and may be overriding what's in your Web.config?" What kind of code do you mean?

    Can the bug of not shown ext.axd icons also have to do with the error in the console: "Uncaught No URL specified" (see attached files).

    Thanks,
    Arthur
    Attached Thumbnails Click image for larger version. 

Name:	extaxd-nourlspecified1.jpg 
Views:	87 
Size:	33.2 KB 
ID:	25482   Click image for larger version. 

Name:	extaxd-nourlspecified2.JPG 
Views:	89 
Size:	77.2 KB 
ID:	25483  
  4. #4
    Quote Originally Posted by idsonline
    Concerning your response, what do you mean be "Could it be there's some code in your website that dynamically adjust this kind of setting and may be overriding what's in your Web.config?" What kind of code do you mean?
    Just a chance, you may have in your project some code that changes webserver settings after it is run, and something may unwillingly be de-registering Ext.NET resources on the fly. It can be anything, so hard to point to any specific direction. Could be C# code in global.asax or even in specific pages, or some time routine run by the server. This is strange though that just icons are affected, and actual Ext.NET resources like javascript and CSS styles are not affected.

    Quote Originally Posted by idsonline
    Can the bug of not shown ext.axd icons also have to do with the error in the console: "Uncaught No URL specified" (see attached files).
    Really hard to tell just by the screenshots, can't fathom what's leading to that message just by then. Happens in any page?
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Question about WebResource.axd vs Ext.axd
    By anup in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 27, 2012, 9:42 PM
  2. [CLOSED] WebResource.axd instead of ext.axd, v1.0
    By chafikb in forum 1.x Legacy Premium Help
    Replies: 16
    Last Post: May 31, 2012, 11:19 AM
  3. [CLOSED] WebResource.axd being used for CSS instead of ext.axd
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 19, 2011, 1:31 PM
  4. Replies: 2
    Last Post: Dec 02, 2009, 4:57 AM
  5. Icons not displayed on Async Postback
    By r_honey in forum 1.x Help
    Replies: 2
    Last Post: Mar 10, 2009, 2:48 PM

Posting Permissions