In this article we are going to show you how to increase the file upload size limit by editing the Web.Config File
1. Open web.config this file is located in the root of your site folder.
2. Open this file with notepad or any other text editor. For the purposes of this example, I used the File Manager Editor that you can find in WebsitePanel. Make sure you save your changes in UTF-8 encoding.
3. In the web.config file, locate the <requestLimits> node and add the following code:
<requestFiltering> <requestLimits maxAllowedContentLength=" 52428800 " / ><!--50MB in kb--> </requestFiltering>
4. Save this file and reload your ASP application. And that’s it! File Size Upload Limit has been changed!
This concludes Change File Upload Size Limit with Web.Config