Import.MaximumFileSize

Defines the max. allowed size for import files in MB (default = "4"), >> Import.

This setting will only be recognized if the web.config is configured in a way that the request can be sent to the server, i.e. to allow a file size larger than 4 MB, the following parameters need to be configured accordingly (in addition to setting Import.MaximumFileSize):

<httpRuntime requestValidationMode="4.5" maxRequestLength="10240" targetFramework="4.5" />
<security>
 <requestFiltering>
 <!-- limit the maximum request size to 10MB -->
 <requestLimits maxAllowedContentLength="10485760" />
 </requestFiltering>
</security>  
ASP.NET defaults for:
  • maxRequestLength: 4096kB (4 MB)
  • maxAllowedContentLength: 30000000 bytes (30 MB)