Maximum allowed content length(Bytes)

Files upload error in IIS 7.5 and OS Windows 7

In asp.net web application if we try to upload a file with the size greater than 28 MB we will receive the below error.



For resolving the issue we need to change the default setting in the IIS.
Resolution



By double clicking the “Request Filtering” icon we can get the page as displayed below and from that go to “Headers” tab and right click on the page and click on the “Edit feature settings” by doing that we will get a popup with the default settings. And do the changes accordingly.

Comments