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?
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
I have zero size restrictions anywhere. Only whats in the web config for the IG_upload. The serverside events never fire b/c the ajax error occurs prior to the postback. The clientside event UPLOADING does fire though. So between the clientside event firing and before the serverside, the error occurs.
i'll try to recreate a sample project for you this morning.