I have a form that excepts a file upload in ASP.NET. I need to increase the max upload size to above the 4 MB default.
I have found in certain places referencing the
I've the same problem in a win 2008 IIS server, I've solved the problem adding this configuration in the web.config:
The requestLengthDiskThreshold by default is 80000 bytes so it's too small for my application. requestLengthDiskThreshold is measured in bytes and maxRequestLength is expressed in Kbytes.
The problem is present if the application is using a System.Web.UI.HtmlControls.HtmlInputFile
server component. Increasing the requestLengthDiskThreshold is necessary to solve it.