The techie in me RSS 2.0
 Sunday, February 07, 2010

Maximum request length matters when you want to allow upload/download of large files.

This is one of the major change in IIS7. In previous version the default is 4MB, in IIS7 its 28.6MB. So when you deploy your ASP.NET application you will see that it will work for files larger than 4MB, but will give as soon as you cross the 28MB.

In IIS 7, the attribute has been changed to maxAllowedContentLength and it has to appear in <system.webServer> section (as for all IIS 7 settings). The complete attribute will look something like this…

<system.webServer>
<
security > <requestFiltering> <requestLimits maxAllowedContentLength="3072000000" /> </requestFiltering> </security>

 

Sunday, February 07, 2010 12:18:00 AM (GMT Standard Time, UTC+00:00)  #    Comments [1] -
Coding | WCF
Friday, April 23, 2010 3:45:38 PM (GMT Standard Time, UTC+00:00)
You have saved my sanity!!! Or maybe I already lost it before I found this.
By the way I found this can be done in the Configuration Editor in IIS 7.5.

Thanks!
Stefan
Comments are closed.
About me
Name : Rujith Anand Send mail to the author(s)
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogs I read
Disclaimer

Disclaimer
Postings are provided as is with no warranties, and confer no rights. Opinions expressed here are my own delusions; my employers at best shake their heads and sigh, at worst repudiate the content with extreme prejudice, whenever it manages to appear on their radar.

© Copyright 2012
Rujith Anand

Statistics
Advertisement
All Content © 2012, Rujith Anand