When uploading a photo of more 4Mb there is an error and message of upload restriction:
RequestLength and/or maxAllowedContentLength to be corrected in IIS7
Then I modify the request filtering parameters in II7 for that site.
And I still have the error message.
So I am wondering if there is a parameter to be modified in Lucee ?
In order to do large file uploads, you will need to tweak the following
settings (the following allows uploads up to 2GB with a max timeout of 20
hrs.)
I checked IIS site : the max is the default : 30 Mb
I still have the same error message :
IIS Web Processing Exception (500):------------------------------
Longueur maximale de la demande dépassée.
For maximum request size limit errors please have administrator adjust
maxRequestLength and/or maxAllowedContentLength.
And the same upload on local environment have no error.
Tomcat/Lucce server.xml is the default file parameters.
Is that a IIS7 error or a Lucee/Tomcat error ?
And, where is located the IIS7 file (system.web) which can be updated ?
system.web is not the name of a file, it’s an XML element in which the
setting needs to go.
The file containing the settings XML is called web.config and should
be in your site’s web root. If not, you could create it and make sure
it contains the following (the maxRequestLength value should be the
maximum size in KB you want to allow).