To fix this issue, perform the following steps:
Uninstall Access Gateway Service.
Ensure the following:
The required ports are open in firewall for communication between Administration Console and Access Gateway.
Antivirus is disabled during installation of Access Gateway.
The time is in sync with Administration Console.
Reinstall Access Gateway Service.