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

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -