asp.net mvc - MVC - System.Web.HttpException: Maximum request length exceeded -
this question has answer here:
- maximum request length exceeded 14 answers
i have following code in web.config...
<system.webserver> <modules> <remove name="formsauthentication" /> </modules> <security> <requestfiltering> <requestlimits maxallowedcontentlength="1073741824" /> </requestfiltering> </security> <validation validateintegratedmodeconfiguration="false" /> </system.webserver> i have page allow user upload 5 images. in testing this, attempting upload 5 images, totalling ~16mb , i'm getting maximum request length exceeded error. there else need set?
try:
<configuration> <system.web> <httpruntime maxrequestlength="1073741824" /> </system.web> <system.webserver> <!-- other settings --> </system.webserver> </configuration> in addition have set. want @ executiontimeout (also property of httpruntime).
Comments
Post a Comment