Increasing the maximum file size in IIS

The issue

The default setting of the IIS web server allows you to upload only up to certain size of file – around 5Mb. If the uploaded file exceed this size an exception will be thrown by server. In lot of situations we need to upload files larger than 5 Mbs, especially for intranet applications.

How to solve it

Check this example:

WebConfig-increase Upload FileSize