This Windows hosting guide will explain how to increase the maximum upload file size using Windows Hosting and IIS.
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
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”1000000″ />
</requestFiltering>
</security>
You could also execute the following command in CMD:
%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLim
its.maxAllowedContentLength:1000000
You could only want to set it for particular application:
%windir%\system32\inetsrv\appcmd set config “Web Site/
” -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000