This Windows hosting guide will explain how to increase the maximum upload file size using Windows Hosting and IIS.

Best Managed Cloud Hosting

In IIS 7 on Windows 2008 Hosting, the web application will reject any file that is larger than 30 MB. You can increase the maximum file size by adding the following code to in the web.config file of your website:

<requestLimits maxAllowedContentLength=”1000000″ />

You could also execute the following command in CMD:

%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLim

You could only want to set it for particular application:

%windir%\system32\inetsrv\appcmd set config “Web Site/” -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000