Override IIS Maximum upload size [max upload size in asp.net]

Published Saturday, November 17, 2007 1:56 AM

by default IIS enables you to upload 2 megabytes and i couldn't seem to figure out how to change that using Internet service manager snap in

but i found this on msdn and it's working perfectly fine

alll you have to do is add this node right under <system.web> section in web.config

   1: <httpRuntime maxRequestLength="size in KiloBytes"
   2:    executionTimeout="seconds"/>

and i managed to upload quite large files.

 

Filed under: , ,

Comments

# DotNetKicks.com said on Wednesday, December 05, 2007 1:45 PM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Leave a Comment

(required) 
(required) 
(optional)
(required)