buy tb-500

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).
  1. Connect to your server via Remote Desktop. You can follow this guide on How do I connect to my Windows VPS?
  2. Open the command prompt. You can follow this guide on How do I open a command prompt?
  3. At the command prompt type “cd C:\Inetpub\AdminScripts” and press enter:
  4. Type the following command and press enter to check the upload limit:
  5. cscript adsutil.vbs get w3svc/ASPMaxRequestEntityAllowed

  6. To change the value to say 100mb, run the following command:
  7. cscript adsutil.vbs set w3svc/AspMaxRequestEntityAllowed 104857600

  8. Run the IIS restart command by typing: iisreset /restart and you are done.

Leave a Reply