Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
igjq:WebUpload Max file size issue
posted

Hello,

We are trying to use the WebUpload module and are getting a "Max File Size" exceeded error for files around 25mb despite setting the limits at 2GB everywhere we can imagine.

Below are the relevant pieces. Can you offer any suggestions to resolve this?

Edit: Before giving the error the progress bar starts, jumps and stutters back and forth then quits.

Webconfig:

<add key="bufferSize" value="16384" />
    <add key="allowedMIMEType" value="*" />
    <add key="fileUploadPath" value="~/Uploads" />
    <add key="maxFileSizeLimit" value="2147483648" />

<httpModules>
      <add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule" />
    </httpModules>
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
      <controls>
        <add tagPrefix="igjq" namespace="Infragistics.Web.UI.EditorControls" assembly="Infragistics4.Web.jQuery.v15.2, Version=15.2.20152.2273, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>
      </controls>
    </pages>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule"
      preCondition="managedHandler" />
    </modules>
    <handlers>
      <add name="IGUploadStatusHandler" path="IGUploadStatusHandler.ashx" verb="*"
      type="Infragistics.Web.UI.EditorControls.UploadStatusHandler" preCondition="integratedMode" />

      <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </handlers>
 
      <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2147483648" />
      </requestFiltering>
    </security>

ASPX:

 <script type="text/javascript">
        function onErrorHandler(e, args) {
            $("#error-message").html(args.errorMessage).stop(true, true).fadeIn(500).delay(3000).fadeOut(500);
        }
   </script>

<div style='height: 300px; width: 100%; overflow-y: scroll; background-color: #e5e6e7' class='upload-box'>
                    <igjq:WebUpload ID="SourceFileUpload" runat="server" AutoStartUpload="true" ProgressUrl="/IGUploadStatusHandler.ashx"
                        Mode="Multiple" MaxSimultaneousFilesUploads="10" OnUploadFinished="SourceFileUpload_UploadFinished">
                        <ClientEvents OnError="onErrorHandler" />
                    </igjq:WebUpload>
                    <div id="error-message" style='color: #FF0000; font-weight: bold;'></div>