asp.net mvc - MVC - System.Web.HttpException: Maximum request length exceeded -


this question has answer here:

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

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -