Increase ASP upload file size
ncrease File Upload Size in ASP & ASP.NET
There is no GUI option in Server 2003 to increase the ASP upload size limit. This guide will show you how this can be accomplished via the command line.
- The default server size is 204,800 bytes (200k).
- Connect to your server via Remote Desktop. You can follow this guide on How do I connect to my Windows VPS?
- Open the command prompt. You can follow this guide on How do I open a command prompt?
- At the command prompt type “cd C:\Inetpub\AdminScripts” and press enter:
- Type the following command and press enter to check the upload limit:
- To change the value to say 100mb, run the following command:
- Run the IIS restart command by typing: iisreset /restart and you are done.
cscript adsutil.vbs get w3svc/ASPMaxRequestEntityAllowed
cscript adsutil.vbs set w3svc/AspMaxRequestEntityAllowed 104857600