Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 157
Registered: ‎01-14-2018
Accepted Solution

maximum request length exceeded error in MAE 16.5.1 uploading file

[ Edited ]

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

Technical Evangelist
Posts: 1,063
Registered: ‎09-11-2015

Re: maximum request length exceeded error in MAE 16.5.1 uploading file

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

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Frequent Contributor
Posts: 157
Registered: ‎01-14-2018

Re: maximum request length exceeded error in MAE 16.5.1 uploading file

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

 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.