Hexagon Geospatial

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Frequent Contributor
Posts: 153
Registered: ‎11-17-2015

GMSC - max size of uploaded file



What is the size limit of a file uploaded by a FormFile?

If there is a limit, is it possible to increase it?


Thank you.


Posts: 23
Registered: ‎01-31-2018

Re: GMSC - max size of uploaded file

Hullo Yohann,


The max size of HTTP-Uploads is restricted by asp.net, not by GMSC. The default request size of asp.net WebApps is 4 MB.


Since uploads from GMSC forms go to the workflow-engine, you should consider to alter the config sections in the web.config file of the Workflow Web Application ({GMSC-install-path}\Program\Workflows\web.config).

For example, to raise the max request size to 10 MB:


      <httpRuntime maxRequestLength="10240" /> <!-- 10 MB in KB (10*1024) -->
            <requestLimits maxAllowedContentLength="10485760" /> <!-- 10 MB in BYTES (10*1024*1024)-->

However - be aware that raising the request size limit may open up an attack vector; I would recommend to talk to your web server operators about this.


See https://stackoverflow.com/questions/288612/how-to-increase-the-max-upload-file-size-in-asp-net#18531... for some advice, how the request limit is set in web.config.

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.