Web interface crashes after update of old server

If your server has not been upgraded since December 2016, please follow the steps below:

Note: Updates are blocked on servers that use a MySQL database older than version 8.0. If your server uses MySQL, upgrade it to MySQL 8.0 or newer before you update.

#1 Install .NET 4.8

Download .NET Framework 4.8 | Free official downloads (microsoft.com)

#2 Activate ASP.NET 4.0

For Windows 2012 / Windows 8 and later, run the following command from an administrative command prompt to enable ASP.NET 4.5

dism /online /enable-feature /featurename:IIS-ASPNET45

For Windows 2008 / Windows 7 / Vista, run this command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regii‌​s -i

#3 Make sure the GpsGateServer application pool uses .NET 4.0 in IIS

Run inetmgr.exe

Right-click on the Application pool "GpsGateServer" and select "Advanced Settings"

Set .NET CLR to v4.0
Set Managed Pipeline Mode to Integrated.

And click OK.

#4 Make sure the Service runs under .NET 4

Edit the following two files:
C:\GpsGateServer\Franson NMEA Service\GpsGate.Service.exe.config
C:\GpsGateServer\Franson NMEA Service\Franson.SysMonitor.Service.exe.config

Add the following inside the <configuration> Group:

<startup>
<supportedRuntime version="v4.0" />
</startup>

After that is done, please start the Service again.


If using IIS Express, please create a file named 
C:\GpsGateServer\Franson NMEA Service\IISExpress.Service.exe.config

With the following content:

<configuration>
<startup>
<supportedRuntime version="v4.0" />
</startup>
</configuration>

#5 Update Patch.v4

Please follow those steps:

1. Log in to Site Admin (Legacy).
2. Go to the Plugins tab.
3. Click Change URL and change the Repository URL to net46update.gpsgate.com.
4. Update Patch.v4.

After the update you have Patch.v4 v4.0.0.5114 installed.

5. Click Change URL and change the Repository URL back to https://update.gpsgate.com.
6. Update Patch.v4.

After the update Patch.v4 should be "green"

#6 Install Java

Install x64 Java on your Windows Server where GpsGate is installed.

https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html

#7 Upgrade Core, Updates.v5 and the rest of the plugins.

1. Log in to Site Admin (Legacy).
2. Go to the Plugins tab (My Plugins).
3. Update Core.

4. Go to the Plugins tab.
5. Update Updates.v5.

6. Go to the Plugins tab.
7. Click Update All to update the rest of the plugins