92
Views
1
Comments
Solved
[Factory Configuration] Unable to set 5GB value to 'maxAllowedContentLength' attribute of FactoryConfig.
factory-configuration
Web icon
Forge asset by OutSystems
Application Type
Traditional Web, Mobile, Reactive, Service

Hi,

I am trying to implement larger file uploads. On forum discussions, I came across 'Factory Configuration' forge component. As per the instructions , I did created a new configuration to allow upload upto 2GB files and it worked.

Now I'm trying set configuration to allow files upto 5GB. I did updated the below XML to allow 5GB files, created a configuration and associated with the required espace. After association, I did published the escape and it errored saying '5368709120' (5gb in bytes provided to 'maxAllowedContentLength' attribute) is not a unsigned long integer value. 

Please suggest me on how to update the XML to allow files upto 5gb content.

Below is the link I followed to created new configuration.

How To Upload "Big Files" using Factory Configuration | OutSystems

XML is attched.

5GBXML.txt
2021-08-12 11-00-27
Nordin Ahdi
 
MVP
Solution

Hi Shwetha,

The reason you got that error is because the max value allowed for maxAllowedContentLength (in bytes) is 4294967295 (+/- 4 GB).

Check out this post on StackOverflow for more info.

Regards,

Nordin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.