Version: MS 22.214.171.124
I keep seeing 404 errors for requests to ScriptResource.ax and WebResource.axd whenever I run a test over at webpagetest.org. I don't see these errors when I monitor the network through the browser developer tools, though.
There are no errors in the system log.
I have decoded the query strings on the individual requests and they are for the following three files: MicrosoftAjax.js, WebForms.js, and MicrosoftAjaxWebForms.js. These files are present in my root directory and in a folder /jscripts/, and the /jscripts/ location is registered in the MasterPageBase.cs file. My RootPage.master should only be loading these resources if needed, as shown in the excerpt below.
<% if (RequireScriptManager)
<%-- Only render for pages that require ajax --%>
<asp:ScriptManager ID="scrptMgr" runat="server">
<% } %>
I have done a number of web searches for this issue, but none of the presented solutions seem to be resolving my issue.
Using the IIS 7 Manager, I have set a Handler Mapping:
Request path: ScriptResource.axd
Type: System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, version=126.96.36.199, Culture=neutral,...
Explicity allowed .axd files in Request Filtering
Disabled http compression
Tried switching the App Pool to ClassicMode (it's currently back to Integrated Mode)
Defined the MIME Type for *.axd as "application/octet-stream"
I am only seeing these errors on my production site, when I run tests on my development and staging instances I do not get the errors. The codebase between my staging and production environments are identical. My development and staging instances are not housed on the same server, separate from production, so it's possible that there is some deeper configuration issue, but I am not sure how to identify or address it.
I welcome any assistance you all can provide.