Brettle.web.neatupload.nonfileportiontoolargeExc

Aug 10, 2010 at 10:27 AM
I have an asp.net page with six fileupload asp.net controls, but when these files go over 4mb i'll get an exception nonfile portion > 4194304 Can I somehow avoid that exception? In my webconfig file I have the following: <httpModules> <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload"/> </httpModules> <system.webServer> <security> <requestFiltering> <!-- Increased maxAllowedContentLength from default of 300MB. --> <requestLimits maxAllowedContentLength="2147483648"></requestLimits> </requestFiltering> </security> <validation validateIntegratedModeConfiguration="false"/> <modules> <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" preCondition="managedHandler"/> </modules> </system.webServer>