IIS 7.5 Request Filtering File Name Extension Issue With JQuery

Here's my environment:
Windows 2008 R2
IIS 7.5
ASP.NET 3.5
MS SQL Server 2008 R2

I am being required to setup IIS with request filtering to allow only specified file name extensions.  I have the development site working with the extensions I have selected, but one JQuery stylesheet seems to be blocked (jquery-ui-1.8.11.custom.css) with a 404.7 that is supposed to be the response when the extension is not in the allowed list.  All other CSS files load fine.

If I check "Allow unlisted file name extensions" everything works fine.  The odd thing is that even though I have not specified CSS as an allowed file name extension, all my CSS files load except this one.  If I add the CSS extension as allowed and uncheck the "Allow.." checkbox, my UI turns to trash like none of the CSS is being loaded event though none of the CSS requests are showing up as being denied.

Has anyone else encountered this issue?
fredsmullinAsked:
Who is Participating?
 
fredsmullinConnect With a Mentor Author Commented:
Sorry!  I figured it out.

I found in the IIS log files that 500.19 errors were being generated for all CSS files when I added the CSS filter.  I traced this back to web.config files scattered through my folder tree that must have been generated by IIS when I turned on the request filtering.  The main CSS folder had a web.config file with allowed filters for CSS.  The file jquery-ui-1.8.11.custom.css was in a different folder and it's web.config did not allow CSS.  Thus, requests where denied.  Once I corrected the web.config(s) and removed the CSS file name extension from the IIS request filter list, it all started working.
0
All Courses

From novice to tech pro — start learning today.