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 first)

Add the following inside the configuration tag (<configuration> code here </configuration>):

<configuration>
<system.web>

<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
</system.web>
<system.webServer>
<security> <requestFiltering> <requestLimits maxAllowedContentLength="1073741824" /> </requestFiltering> </security> </system.webServer>
</configuration>