Solution 1 - Changes for all web sites:
Next statement will set the maximum file upload size to 100MB. Note: the maxAllowedContentLength is in bytes!
%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600Solution 2 - Changes for a web app:
%windir%\system32\inetsrv\appcmd set config "Default Web Site/Just execute the statement in a command prompt." -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600
No comments:
Post a Comment