Franson.SysMonitor.Service does not start after server migration

SYMPTOM

You can no longer upgrade plugins after migrating GpsGate to a new Windows Server. And you can no longer start and stop the Service under SiteAdmin -> Service.

CAUSE

Franson.SysMonitor.Service is not set to run under .NET4

SOLUTION

Open the file C:\GpsGateServer\Franson NMEA Service\Franson.SysMonitor.Service.exe.config in a text editor.

Make sure it looks like this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <!-- Port to which restarter listens -->
    <!-- SECURITY: Make sure this port isn't reachable from the public Internet -->
    <add key="RestarterPort" value="11300"/>
    <add key="RestarterEnabled" value ="true"/>

  </appSettings>

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

</configuration>

Save the file, and then try to start the service again.