In ASP.Net User can't upload file which is more than 4MB, because by default maximum size of file for upload is only 4MB.
So now what is the solution if you want to allow more than 4MB file in your website? At that time you can increase the value of “maxRequestLength” attribute of “machine.config” file.
Using <httpRuntime> element you can set file size like below. <httpRuntime executionTimeout="240" maxRequestLength="90000" /> //Here I set value of attribute "maxRequestLength" As "90000"...
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: