Normally We can't upload files of size > 4 MB.
If we have to upload file of size maximum 4 GB then the web.config file must be contained the following codes
If we have to upload file of size maximum 4 GB then the web.config file must be contained the following codes
<configuration>
</system.web>
<httpRuntime maxRequestLength="4124672" requestValidationMode="2.0" executionTimeout="36000" />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4223664128"></requestLimits>
</requestFiltering>
</security>
</system.webServer>
</configuration>
Notes:
maxRequestLength in httpRuntime is KB (Kilo Bytes)
BUT
This comment has been removed by a blog administrator.
ReplyDelete