title: how to upload video bigger than 25 mb- c#, javascript
body: <p>I have a problem with uploading video in my project. 
  If File has about 25mb then uploads good, but if I try to upload bigger file - 80 mb, I receive "failed".</p>
  
  <p>Web.config file:</p>
  
  <pre><code>&lt;httpRuntime maxRequestLength="104857600" executionTimeout="3600" /&gt;
  </code></pre>
  
  <p>My function in view file:</p>
  
  <pre><code>function createVideoUploader() {
          videoTempName = '@Guid.NewGuid().ToString().Replace("-", "").Substring(0, 13)';
          var uploader = new qq.FileUploader({
              element: document.getElementById('video-uploader'),
              allowedExtensions: ['3g2', '3gp', 'avi', 'f4v', 'flv', 'm4v', 'mov', 'mp4', 'mpeg', 'mpg', 'mts', 'ogv', 'webm', 'wmv'],
              sizeLimit: 838860800, //304857600,
              action: '@Url.Action("Upload", "Upload")',
              params: { 'fileTempName': videoTempName },
              multiple: false,
              onSubmit: function (id, fileName) {
                  $('div.qq-upload-button').hide();
                  $(".qq-upload-drop-area").remove();
              },
              onCancel: function() {
                  createVideoUploader();
              },
              onComplete: function (id, fileName, responseJSON) {
                  if(responseJSON.success == false) {
                      uploaded = false;
                      $("#videoUploadedFail").show(); // show video error
                      var postData = { 'fileTempName': videoTempName };
                      $.ajax({
                          type: 'POST',
                          url: '@Url.Action("DeleteTemp", "Upload")',
                          data: $.param(postData,true),
                          async: false
                      });
                  } else if(responseJSON.success == true) {
                      uploaded = true;
                      $('div.qq-upload-button').hide();
                      var postData = { 'fileTempName': videoTempName };
                      $.post("@Url.Action("PreprocessVideo", "Upload")", $.param(postData,true),
                          function (data) {
                              appendSuccess("#flowVideo");
                              totalTime = secsToTime(data.seconds); // seconds to time
                              $("#duration").html(totalTime);
                              $(".timeText").html(totalTime);
                              $("#orderSlides").css("display", "inline-block");
                          });
                    }
              }
          });
          if (!($.browser.msie))
              $('span.qq-upload-span').append(' or drop file here');
      }
  </code></pre>