title: input type=file default size limit 3Mb
body: <p>I am using MVC 5 and visual studio 2015.</p>
  
  <p>I've implemented successfully file upload. 
  Client side code:</p>
  
  <pre><code>&lt;label for="file-upload" class="btn btn-primary"&gt;Save attachment&lt;/label&gt;
  &lt;input id="file-upload" type="file" multiple style="display:none;" /&gt;
  </code></pre>
  
  <p>Script on client side:</p>
  
  <pre><code> $(function () {
  
      $("#file-upload").click(function (event) {
        $("#file-upload").val("");
      });
  
  
      $("#file-upload").on('change', function (event) {
        debugger;
        var iNEWS_KEY = $('input[name = "iNEWS_KEY"]').val();
        var formData = new FormData();
        var totalFiles = document.getElementById("file-upload").files.length;
        for (var i = 0; i &lt; totalFiles; i++) {
          var file = document.getElementById("file-upload").files[i];
  
          formData.append("file-upload", file);
        }
        $.ajax({
          type: "POST",
          url: '/NewsInternal/Upload',
          data: formData,
          dataType: 'json',
          contentType: false,
          processData: false,
          success: function (response) {
  
            var count = response.listAttachments.length;
            $("#tableNewsInternal &gt; tbody &gt; tr[id='" + iNEWS_KEY + "'] &gt; td[id='tdAttachment']").html(count);
            $("#tblNewsAttachments &gt; tbody &gt; tr").remove();
  
            for (i = 0; i &lt; count; i++) {
              var z = i + 1;
              var iNEFI_KEY = response.listAttachments[i].iNEFI_KEY;
              var cNEFI_LINK = response.listAttachments[i].cNEFI_LINK;
  
              var btnDelete = '&lt;button type="button" class="btn btn-danger" onclick="DeleteAttachment(' + iNEFI_KEY + ');" style="width:100px;"&gt;Izbriši&lt;/button&gt;';
  
              $("#tblNewsAttachments &gt; tbody").append("&lt;tr id='" + iNEFI_KEY + "'&gt;&lt;td style='padding-right:15px;'&gt;" + z + "."
                + "&lt;/td&gt;&lt;td style='padding-right:15px;'&gt;" + response.listAttachments[i].cNEFI_ORI
                + "&lt;/td&gt;&lt;td&gt;" + btnDelete + "&lt;/td&gt;&lt;td&gt;" + cNEFI_LINK + "&lt;/td&gt;&lt;/tr&gt;");
            }
          },
          error: function (error) {
            alert("Napaka pri dodajanju priponke!");
          }
        });
      });
  
  });
  </code></pre>
  
  <p>On the server side:</p>
  
  <pre><code>[HttpPost]
  public JsonResult Upload()
  </code></pre>
  
  <p>Everything works well. My problem is, that files larger than 3MB can not be uploaded. If I try, f.e. upload file 4MB large, server action is not triggered (I've put breakpoint on the action on server. Breakpoint is never reached) and response is:</p>
  
  <pre><code>[HttpException]: Maximum request length exceeded.
  </code></pre>
  
  <p>What is wrong with my code? Where does limit 3MB comes from?</p>