Change File Upload Size Limit with Web.Config

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:


<requestLimits maxAllowedContentLength=" 52428800 " / ><!--50MB in kb-->


file manager webconfig asp tutorials file limit arvixe hosting

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

Looking for quality Windows Hosting? Look no further than Arvixe Web Hosting!

Happy Hosting!

Rodolfo Hernandez

Tags: , , , , , , , , , , , , , | Posted under ASP .NET 2, ASP .NET 3.5, DotNet/Windows Hosting, WebsitePanel Tutorials | RSS 2.0

Author Spotlight

Rodolfo Hernandez

I like photography and reading books. Currently working for Arvixe as Elgg Community Liaison. Elgg Security Expert Web Security Expert CEO of UDP SW Social Web

4 Comments on Change File Upload Size Limit with Web.Config

  1. Stefan says:

    tried to increase the upload limit but could not find the file web.config… can you assist pls


  2. I cannot find in my web.config the
    Do I need to add it just at the end?

Leave a Reply to Stefan Cancel reply

Your email address will not be published. Required fields are marked *