The LSFORCEHOST environment variable selects a single license server. This forces all Sentinel protected applications (including Team-GIS applications) to look for the specified license server on the network, which eliminates time delays in finding the correct license server when compared with using LSHOST. However, with LSFORCEHOST no network broadcast is ever performed, so if the license server specified in LSFORCEHOST is not found, then the search stops and an error is returned.
A pre-existing LSFORCEHOST environment variable will most likely stop all Team-GIS products from being able to find the licenses they require, and in turn produce the error 'E0002 -- Could not get a license/Unable to contact any servers', examples of which are shown in the licensing FAQ's.
In general terms the best way to resolve such issues is to remove the LSFORCEHOST environment variable altogether (see the section below), although there may be instances when this is not an appropriate solution. If in doubt please contact Exprodat support.
Note that during installation of Team-GIS products (version 200 and above) a check is performed to see whether the LSFORCEHOST environment variable is present, and if it is you are presented with the option to change it to LSHOST, as this will not prevent Team-GIS products from being licensed and will additionally be benign in terms of any third party Sentinel protected applications.
|