iis 8 - IIS8 Unable to upload files above 2mb -
i've been trying upload files larger 2 mb website running on windows 2012 server iis 8. can upload files under 2 mb not timeout problem, above causes refuse file (any extension).
what have done far changing defaults to:
<httpruntime maxrequestlength="153600" executiontimeout="900" /> <requestfiltering allowdoubleescaping="true"> <requestlimits maxallowedcontentlength="157286400" /> </requestfiltering> asp max request entity body limit 20000000
from i've read, maxrequestlength in kb, maxallowedcontentlength in bytes , should larger maxrequestlength , asp max request entity body limit in bytes.
sadly changes did not fix issue.
did modify maxallowedcontentlength setting in web.config?
you can increase maximum file size modify maxallowedcontentlength setting in web.config file example below:
<system.webserver> <security> <requestfiltering> <requestlimits maxallowedcontentlength="2147483648" /> </requestfiltering> </security> </system.webserver>
now can upload files 2 gb in size.
Comments
Post a Comment