For file upload on a SSL secured page, you may sometimes encounter a "Request Entity Too large 413 error" if you wait for too long before clicking on upload button. An
article on the IIS forum page points to a possible bug on IIS settings and a tweak is needed to solve this problem.
Set correct value:
%windir%\system32\inetsrv\appcmd set config -section:system.webserver/serverruntime /uploadreadaheadsize:204800 /commit:apphost
or
cscript adsutil.vbs set w3svc/uploadreadaheadsize 204800
To view setting:
cscript adsutil.vbs get w3svc/UploadReadAheadSize
No comments:
Post a Comment
Do provide your constructive comment. I appreciate that.