Hey guys, i have 10 fileupload controls, which are for images only. In the form_load of my page, i haveServer.ScriptTimeout = 6000 (10 minutes). But yet when i upload 10 pictures right from my camera (3 mb each) it gives me a server error after 5-10 seconds. When i resize the images to about 1000x750, it works fine.
I really need this to work the way it's supposed to.. anyone know how to fix this?
Try to set the execution time-out in the web.config
<configuration>
<system.web>
<httpRuntime maxRequestLength="51200" enable = "True" executionTimeout="45"/
</system.web
</configuration>
http://weblogs.asp.net/hosamkamel/archive/2007/09/18/resolving-maximum-request-length-exceeded-exception.aspx
Alright! Thanks so much, that worked great!
0 comments:
Post a Comment