Licence Expired and Licence Gateway screen does not display

Problem:

Idealpos displays the Licence Expired message. When Settings > Licence Gateway is selected, the Licence Gateway screen does not display or Idealpos crashes.

The following error may display, or there may be a similar error in the Gateway logs (\Program Data\Idealpos Solutions\logs):

12:40:16 [1] Error IdealPos.Licensing.exe: When starting peerServiceHost: System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:808. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted

Cause:

Intel Graphics Command Center (igccservice) has blocked other applications from using TCP port 808.

Related article here

FIRST:  Close suite, and right-click on Idealpos shortcut - "Run as Administrator"

Technique 1: Complete Fix

As of 19 Oct 2020, Intel has fixed this issue as of driver version 27.20.100.8783

From 18/05/2023, all Vogue Widescreen terminals will be using 31.0.101.2115 which can be downloaded from here

The fix will require downloading new drivers for the Intel Graphics programs. The following URL provide links to those drivers, and also to an Intel driver update program that will detect and update drivers as required:

https://downloadcenter.intel.com/product/80939/Graphics

This fix has been used multiple times with recurring issues.

After updating, the driver version should be 27.20.100.8783 or newer.

If already installed, update the driver by launching the Intel Graphics Command Center program from the start menu and selecting the support tab then Download Graphics Driver.

This will then navigate to https://downloadcenter.intel.com/ once "Get Started" has been pressed it will navigate to https://www.intel.com/content/www/us/en/support/detect.html and download the Intel Driver & Support Assistant which will then scan the system for updates.

The update that is required is the Intel Graphics - Windows 10 DCH Drivers.

Once this has finished downloading and installing, the system will require a restart. There may be additional installations after the restart depending on how many updates were required.

If Idealpos still doesn't load the licence gateway opening, it might need to have the Idealpos.Licencing.exe restarted from Task Manager.

Recently Windows was unable to install the Intel Driver and Support Assistant.

Log files indicated the lack of Visual C++ Redistributable for Visual Studio 

The latest supported Visual C++ Downloads are available here:

https://support.microsoft.com/en-au/help/2977003/the-latest-supported-visual-c-downloads

Technique 2: Temporary Fix

Quick Fix: Stop and Disable the Intel Graphics Command Center Service, and then Close and Open Suite in Idealpos.

More info:

Note the 808 in the error message in the Gateway logs. This indicates the port that is being used for listening.

From an elevated Command prompt, type:

Netstat -ano | findstr 808

This will list the applications listening on listening on port 808.

To find the Service name using this PID

Tasklist | findstr 2744

In this case, the cause was OneApp.IGCC.WinService.exe. This was identified through Task Manager as related to the Intel Graphics Command Center Service. Using Services, this service was stopped and Disabled. 

The Licencing screen then displayed and worked properly. If the licencing window doesn't open after performing a close suite and open. Try end tasking the Idealpos.Licensing Process in Task Manager. Then try again.

On a few sites, we are finding that the following Intel services must all be stopped and disabled:

Technique 3:

If there are no errors in the logs to further identify this problem:

- try reinstalling the Framework and the Build.

- update the graphics adapter driver.

- this may occur on a 'headless' PC (a PC that does not have a physical monitor attached to it). Then screen is actually there but is invisible - you may be able to 'see' this by going to Setup > LIcence Gateway and clicking the area where the Connection Mode drop-down would normally display. Try attaching a monitor to fix this issue.

Technique 4:

Enable the Net.Tcp Port Sharing Windows service using the attached NetPortSharingEnable.bat file (please provide feedback to support@idealpos.com.au on the success/failure of using this technique). Based on feedback received by 26 Nov 2021, this has worked on at least one other site.

Important note regarding Windows 10 Feature Updates and the Intel Display Driver!!

Installing a Windows 10 feature update (e.g. Windows 10 Version 20H2) can result in the Display Driver being DOWNGRADED, resulting in this issue resurfacing again! 

To resolve after a Windows 10 Feature Update, just run the Display Driver setup again and it should upgrade the display driver and once again, resolve the issue.

Note: Future Windows updates might replace this driver with a version that still causes a problem with licensing. To prevent this, run gpedit.msc

On the left, navigate to Administrative Templates>Windows Components>Windows Updates.

On the right, scroll down and find "Do not include drivers with Windows updates" Double click this entry to edit it.

Set this to Enabled

This should prevent windows from replacing the display driver during Windows update operations.

 

- info provided by Jason, James, Richard and Brad