How to Increase the Upload Limit in Novulo?

We have exported a complete activity template from the DEV environment in Novulo. When attempting to import this file into the ACC environment, we receive an error stating that the file is too large to upload.
image
The file we are trying to upload is 3.9 MB.

Is there a way to increase the upload limit, perhaps to 10 MB? Should this be configured in the web.config file, or is there another location within Novulo where we can adjust the upload limit?

Yes.

  1. Add and start an installation of type maintenance for your application in deployment.
  2. Open the installation in the installer and choose the workflow template “Bigger upload”.
  3. Start the workflow, refresh the page if needed and then fill in the max size:
    image
  4. Hit “Submit”, the upload size has now been increased.
  5. Reset the upload size to 2MB by clicking continue when you are done.
    image

Thank you Joachim! This is working.

1 Like

Hi Joachim, Is there a way to structurally increase the upload size?

This is what I found based on KB647.

First, you have to manually edit the web.config file. Then you can use the custom web.config settings in deployment.

[…]
The maximum upload size is configured using two nodes in the web.config:

Xpath: /configuration/system.web/httpRuntime/@maxRequestLength
Value: (in KB) > 25000

Xpath: /configuration/system.webServer/security/requestFiltering/requestLimits/@maxAllowedContentLength
Value: (in Bytes) > 25000000

As of 18 May 2021, Deployment can only modify existing nodes in the web.config file. It cannot add nodes. So far, the procedure is as follows for instances without any modification to upload size yet. (e.g. all new instances).

  1. Make an SVN check-out of the web.config file, using tortoise.
  2. Make sure the following parts are in the web.config file. Please make sure that the <system.web> en <system.webserver> nodes only exist once:
<system.webServer>
<security>
<requestFiltering>
<!-- size in Bytes, e.g. for 128MB -->
<requestLimits maxAllowedContentLength="134217728" />
</requestFiltering>
</security>
</system.webServer>

<system.web>
<!-- size in kB, e.g. for 128MB -->
<httpRuntime maxRequestLength="131072" />
</system.web>
  1. Once the sections are in, the Custom web.config in deployment allows you to modify the setting
1 Like