I've done extensive research and found many solutions and not surprisingly, nothing works.
I'm using IIS 8 (Win Server 2012) and an ASP.NET (4.0) web form application to upload files. Generally, all of this works fine until I try anything resembling a large file.
I have this in my web.config:
<security><requestFiltering><requestLimits maxAllowedContentLength="52428800" /></requestFiltering></security>
I also have this:
<httpRuntime executionTimeout="7200" maxRequestLength="2097151"/><compilation debug="true" targetFramework="4.0" />
Although I've read that the former is what is required for IIS 7+
I've even inserted this in the code of the page:
HttpContext.Current.Server.ScriptTimeout = 7200;
Every attempt times out at 120 second (give or take), which makes sense with the default of 110 second (+/- the 15 second interval of the check)