Max File Size Upload In ASP.Net

By default, the maximum file size to upload is 4MB. To increase it, simply add this section in web.config:

This will dictate the maximum size to be 5MB.

Advertisements