Web Development

General discussion


size limit for HTTP requests in IIS?

By Jay Eckles ·
Does anyone know if there is a limit to the size of an HTTP request to which IIS will respond? If so, is there a way to change the size of that limit?



This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

size limit for HTTP requests in IIS?

by jlanus In reply to size limit for HTTP reque ...

Hi Jay

There's been a long time since I don't do dev in IIS, so I might be quite outdated.
As of then (1999?) the limit was a timeout.
ASP scripts were interrupted after a while like, say, 90 seconds running in the server.
The timeout threshold was configurable in the global.asa file.
The limit then was not actually a size limit but it limited the amount of data that could be put in one single page thru a combination of the connection speed and the server's availability.


Collapse -

in ASP.NET use maxRequestLength

by Villechaise In reply to size limit for HTTP reque ...

I don't know if you can do this for IIS any other way than the server timeout, but in asp.net the machine (or web) .config tag
<httpRuntime maxRequestLength="4096">
will limit requests to 4K.

Collapse -

You can change it in IIS properties tab

by Binghong In reply to in ASP.NET use maxRequest ...

just right click the Default Web Site in IIS, get the properties window. you can change the size of http request by changing the Connections area under Web Site sub tab.

Collapse -

Size Limit

by Ed Woychowsky In reply to size limit for HTTP reque ...

In classic ASP there is a limit and it is about 100K. This may seem like a lot, but when a DTC page object is used the entire form is considered part of the request. Hope this helps.

Related Discussions

Related Forums