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
262
Max File Size Exceeded Error
posted

I continuously get this ajax error "Max File Size Exceeded" when i try to upload any file over X size.

(i havent quite pin pointed the exact amount, but its for certain anything over 20MB.)

My WebConfig is: 

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

 <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="IGUploadModule"  type="Infragistics.Web.UI.EditorControls.UploadModule, Infragistics35.Web.jQuery.v11.2, Version=11.2.20112.2025, Culture=neutral, PublicKeyToken=xxxxxxxxx" preCondition="managedHandler" />    </modules>

    <handlers>
      <remove name="IGUploadStatusHandler" />
      <add name="IGUploadStatusHandler" path="IGUploadStatusHandler.ashx" verb="*" type="Infragistics.Web.UI.EditorControls.UploadStatusHandler, Infragistics35.Web.jQuery.v11.2, Version=11.2.20112.2025, Culture=neutral, PublicKeyToken=xxxxxxx" preCondition="integratedMode" />    </handlers>

HTML:

    <ig:WebUpload ID="WebUpload1" runat="server" Width="100%" AutoStartUpload="false"

                        OnUploadStarting="WebUpload1_UploadStarting" OnUploadFinishing="WebUpload1_UploadFinishing" Mode="Multiple">

                        <ClientEvents OnError="onError" FileSelected="fileSelected" CancelAllClicked="cancelAllClicked"

                            FileUploadAborted="fileUploadAborted" FileUploaded="fileUploaded" FileUploading="fileUploading" />                    </ig:WebUpload>

 

Until now, the max file size limit was coming from "maxFileSizeLimit", however it seems to ignore that value now.

 suggestions?

Parents
No Data
Reply
  • 1800
    posted

    Hi Adam,

    Are you sure that you haven't set file size limitation inside of your serverside/clientside events? We haven't till now such a problem so please revise your code. Is it possible to create for us some little sample?

    Thanks,

    Miro Hristov

Children