Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

How to override parent level setting in IIS7

$
0
0

Hi,

I am apparently traped by the new request filtering feature in IIS7. I red about the tech doc about request filtering and tried to turn off the file extension filtering in my public listed folder by adding:

<requestFiltering>
  <
fileExtensionsallowUnlisted="true">
    <
addfileExtension=".asp"allowed="false"/>
  </
fileExtensions>
</
requestFiltering>

But my IIS returned me HTTP Error 500.19 on the <requestFiltering> line: "This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault='Deny'), or set explicitly by a location tag with overrideMode='Deny' or the legacy allowOverride='false'."

The public folder is a virtual directory located under Default Web Site. But I have lost in how to override this parrent setting.

Could anyone point me to the right direction? Thanks


Viewing all articles
Browse latest Browse all 28058

Trending Articles