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:

<system.webServer>
   <security>
      <requestFiltering>
         <requestLimits maxAllowedContentLength="1073741824" />
      </requestFiltering>
   </security>
 </system.webServer>