Possible Duplicate:
How to increase the max upload file size in ASP.NET?
i m trying to validate an uploaded content uploaded by user, it works fine if we upload content lesser than 2 MB’s, but if we upload content more than 2MB’s, withour undergoing any process, we get an error “Connection is reset.”
is there and why to increase the limit in asp.net web.config file?
If you are trying to upload a file, set this to Web.Config under system.web section
where maxRequestLength is the file size limit in KB and executionTimeout is the timeout in seconds. Set this value as per the requirement.