Uploading larger file through file upload in asp.net
This article if for how to upload larger file through file upload control in asp.net, we have to change web config setting for uploading larger file
through file upload control.
just copy and paste the code and if you want to increase the file size limit the change the value of maxRequestLength according to you.
(Want to know how to upload and validate like mime type ,size in MB or KB or extension during saving file through fileupload control check this How to upload save and validate a file in asp.net using fileupload control c#)
By default web config allowed only file sized 5 Mb, for uploading file max 25 Mb Here is web config change.
(Want to know how to upload and validate like mime type ,size in MB or KB or extension during saving file through fileupload control check this How to upload save and validate a file in asp.net using fileupload control c#)
<httpRuntime executionTimeout="90" maxRequestLength="25096"
useFullyQualifiedRedirectUrl="false"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
enableVersionHeader="true"></httpRuntime>