override iis maximum upload size max upload size in asp net

Saturday, November 17, 2007 3:56 AM | Leave a reply »

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 section in web.config

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

and i managed to upload quite large files.



Comments

  1. Gravatar Anonymous says:

    Re : # 

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


Leave a Reply



 

Please add 4 and 3 and type the answer here: