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,
Please set in your web.config in security section:
<security> <requestFiltering> <!-- The default value is 30000000 bytes ~ 30 MB. --> <requestLimits maxAllowedContentLength="2097151000" /> </requestFiltering> </security>
Thanks,Miro Hristov
sorry for the delay, i never saw a response from you in my email and was starting to get frustrated. i have attached my entire web.config for you. let me know what else you need.
Hey Adam,
Is it possible to send us a little sample. Or at least to send us your web.config.
Thanks,
Miro Hristov
bump
any other suggestions on this?