llamaonsecurity / jQuery-File-Upload.MVC5

Simple implementation of Blueimp jQuery File Upload Plugin using ASP.NET MVC5
76 stars 50 forks source link

Large file fail to upload #5

Open MayraDesai opened 6 years ago

MayraDesai commented 6 years ago

I try to upload 16 Mb file but it's giving me Interval server error.

for the small file, it's work fine. but not for large file

so what change I have to do for uploading a large file.

llamaonsecurity commented 6 years ago

Hello @MayraDesai It looks like the you have reached maximum allowed content length, change settings in web.config and it should work.

<system.webServer>
  <security>
    <requestFiltering>
      <requestLimits maxAllowedContentLength="1073741824" />
    </requestFiltering>
  </security>
</system.webServer>

From https://stackoverflow.com/questions/3853767/maximum-request-length-exceeded

PS: Use stackoverflow instead of github when you want to resolve non-code related issues.