Printer Friendly Version      Send     
Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
IIS 7.0: requestLimits Element for requestFiltering (IIS Settings Schema)

Specifies limits on requests processed by the Web server.

IIS 7.0: configuration Element (IIS Settings Schema)
  IIS 7.0: system.webServer Section Group (IIS Settings Schema)
    IIS 7.0: security Element (IIS Settings Schema)
      IIS 7.0: requestFiltering Element for security (IIS Settings Schema)
        IIS 7.0: requestLimits Element for requestFiltering (IIS Settings Schema)
<requestLimits
      maxAllowedContentLength="uint"
      maxUrl="uint"
      maxQueryString="uint"
>
   <headerLimits>...</headerLimits>
</requestLimits>

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

maxAllowedContentLength

Optional uint attribute.

Specifies the maximum length of content in a request, in bytes.

The default value is 30000000.

maxQueryString

Optional uint attribute.

Specifies the maximum length of the query string, in bytes.

The default value is 2048.

maxUrl

Optional uint attribute.

Specifies maximum length of the URL, in bytes.

The default value is 4096.

Child Elements

Element

Description

headerlimits

Optional element.

Specifies size limits for HTML headers.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.0.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

security

Specifies the section group that contains security-related sections.

requestFiltering

Specifies configuration settings for request filtering.

Default Configuration

None.

Configuration locations

Machine.config

ApplicationHost.config

Root application Web.config

Application Web.config

Directory Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker