jquery - Cannot upload file larger than 30mb -
i doing asp.net web forms project , trying implement jquery file upload. able working smaller files files on 30mb not upload. progress bar appear stays @ start so:
in web.config have max request length , max allowed content length set.
<system.web> <compilation debug="true" targetframework="4.5.1" /> <httpruntime targetframework="4.5.1" maxrequestlength="10240000" executiontimeout="1800" /> </system.web>
and
<system.webserver> <security> <requestfiltering> <requestlimits maxallowedcontentlength="4248576000" /> </requestfiltering> </security> </system.webserver>
i able around setting maxchunksize: 10000000 when asp.net not appending file correctly. save last chunk or locks , says "the process cannot access file because being used process."
i using filetransferhandler example in documentation: https://github.com/i-e-b/jqueryfileupload.net/blob/master/jqueryfileupload/filetransferhandler.ashx.cs
i'm not asp.net expert, believe have come across similar in past , if remember correctly, have add/edit on web.config:
<configuration> <system.web> <httpruntime maxrequestlength="xxxxxxxx" /> </system.web> </configuration>
this can same amount of kb, 4248576000 if want. check set (should 30720 [=30mb] if causing problems...)
Comments
Post a Comment