adjust the IIS settings to allow for larger files to be uploaded. With Lucee, there are TWO places you’ll need to adjust the setting. In addition to the IIS restriction, there is also a .NET framework restriction. You can change this one of two ways. 1. Modify the web.config for the individual site you are working on. Add the following…
<system.web>
<httpRuntime maxRequestLength="20480" />
</system.web>
If system.web already exists, then just add the httpRuntime line.
UPDATE: Newer versions of IIS (IIS 10 in my case) also have an execution timeout that can prevent the file from finishing uploading. So, you may need to add that too. Change the 999999 to your preference.
<system.web>
<httpRuntime maxRequestLength="20480" executionTimeout="999999" />
</system.web>
%windir%\Microsoft.NET\Framework\framework_version\CONFIG (for example, C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config)
<system.web> will already exist there, so you can just add the new node: <httpRuntime maxRequestLength=”20480″ />
Note that both of the examples above set the upload limit to 20MB. The value is in Kilobytes, NOT Bytes like the IIS setting.]]>
My experience is that adding the new limit to the individual web.config is all that’s needed.
@Julian – that is true if you only want to apply the limit to one site. In my case, I have a server running many sites and needed to apply it to all sites. So I chose option 2 above.