12-25-2018 01:37 AM - edited 12-26-2018 12:38 AM
Dear all,
In MAE 16.5.1 workflow, I made a form that the user can upload a file, it works well as the file is small but the user choose to upload a larger file (5 Mb) it failed to upload and gives the following error message
maximum request length exceeded
Is there a way to overcome this restriction in file size?
I tried to search in the web.config file for the (max url length) but not found.
Best Regards
Khaled
Solved! Go to Solution.
12-27-2018 02:28 AM
Hi Khaled,
If it's not there, you should be able to add it manually. Samples are here:
https://stackoverflow.com/questions/3853767/maximum-request-length-exceeded
Jan
12-27-2018 03:22 AM
Thanks Jan,
That's worked.
For the sake of knowledge sharing, the web.config file is in the following path:
C:\Program Files\Hexagon\M.App Enterprise\Workflows\Web.config
I added inside the tag <httpRuntime maxRequestLength="1048576">
and in the tag
<system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1073741824" /> </requestFiltering> </security> </system.webServer>
Best Regards,
Khaled