The UploadReadAheadSize property establishes the number of bytes a Web server will read into a buffer and pass to an ISAPI extension. This occurs once per client request. The ISAPI extension receives any additional data directly from the client. The range is from 0 to &HFFFFFFFF (4 GB).
For more details on this property please check the URL – https://msdn.microsoft.com/en-us/library/ms525310%28v=vs.90%29.aspx
To navigate to this setting, use the following steps:
- Launch “Internet Information Services (IIS) Manager”
- Expand the Server field
- Expand Sites
- Select the site your application is in.
- In the Features section, double click “Configuration Editor”
- Under “Section” select: system.webServer>serverRuntime
For my case, customer had maximum file size less than 50 MB, so we set it to 52428800 i.e. 50 MB.
Please note that the value is in Bytes.
This resolved the issue for us and file uploads and downloads worked fine.
I hope this helps!