Increase the maximum size of files to upload to IIS from its default value of 48 Kb to enable large file uploads.
Procedure
- Log in to Windows as an administrator user.
- From a command prompt, navigate to c:\Windows\System32\inetsrv\.
- Enter the following command (on one line):
appcmd.exe set config -section:system.webServer/serverRuntime /uploadReadAheadSize:"1073741824" /commit:apphost
- Verify that the setting was changed correctly by entering the following command (on one line):
appcmd.exe list config -section:system.webServer/serverRuntime