ASP.NET Upload Failure Solution
By Goniey N
Sometime You Will Find That You Can't Upload your Files.
In ASP.NET You Can't Upload File Which Is More Than 4MB.
For Security Reasons, In ASP.NET By Default Size Is 4MB Only. So You Can't Upload
More Than That.
If you Want To Allow Upload File Which Is More Than 4MB In Your Website Than You
Have To Set Upload File Size.
For That You Have To Increase File Size Using "maxRequestLength" Attribute
Of Machine.cofig's <httpRuntime> Element.
<httpRuntime executionTimeout="240" maxRequestLength="80000" />
//Here I Set The Size Of "maxRequestLength" As "80000"...
ASP.NET Upload Failure Solution (476 Views)