nguyen hung

nguyen hung

  • 1.9k
  • 14
  • 11.6k

how to fix error maximum request length exceeded on mvc 5

Jun 11 2016 12:03 AM
my web was error maximum request length exceeded when i upload image over 4mb,i had tried many way to fix wweb.config but it still errr.here is my last config in my web.config but it throw same errror.
<system.web>
<httpRuntime targetFramework="4.5" maxRequestLength="100000"/>
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>

Answers (7)