When i try to upload any file (via form submit), i get the following error: "The page was not displayed because the request entity is too large". I even get this error when uploading a 50kb jpg file
Ive tested my php web application on 8 servers and it works on all but one. Leading me to suspect that it isnt a code issue but an IIS setting. Can anyone point me in the right direction?
Thanks
This might answer your question:
Basically the fix is simply to up the size of the UploadReadAheadSize metabase property like this:
cscript adsutil.vbs set w3svc/1/uploadreadaheadsize 204800
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.