Maximum request length exceeded IIS error

Problem

When loading your GpsGate server website you get the following error:

System.Web.HttpException (0x80004005): Maximum request length exceeded.

Solution

Please edit the web.config file located under C:\GpsGateServer\IIS
Make a backup of the web.config file first.

Once the document is open you will the following code:

Screenshot

1. Identify where <system.web> starts. Under this line, please paste: 

<httpRuntime requestValidationMode="2.0" maxRequestLength="1048576" executionTimeout="3600" />

2. Identify where <system.webServer> starts. Under this line, please paste:

<security>

<requestFiltering>

<requestLimits maxAllowedContentLength="1073741824" />

</requestFiltering>

</security>

3. Save the document and reload the your platform.

Screenshot 2023-08-24 at 11.05.07.png