Error: "A protection device or license is required" (LM) (LSFORCEHOST environment variable) (Pervasive)
Description
Note: As of 9/30/2018, replacement keys/dongles are no longer available.
Cause

The network may have timed out while trying to locate License Manager. Causes can include:

  • Network communication issues.
  • Network saturation.
  • LSFORCEHOST having the incorrect value.
  • Duplicate LSFORCEHOST strings
  • The License Manager (LM) server and Estimating computer residing on different subnets.
Resolution
[BCB:3:Network warning:ECB]

Use (or modify) the LSFORCEHOST environment variable to tell Estimating applications where the License Manager server is.

If the location of the License Manager server is unknown, see article link below.

The LSFORCEHOST environment variable tells the workstation to send a signal directly to the License Manager server to find a license for the application. If the approved Safenet environment variable is not used, the estimating application broadcasts the signal to the entire network to find a license. Refer to the Safenet System Administrator's Help for more information.

  • To access this help, locate the Estimating install image, browse to \AdditionalInstalls\LicenseManager\SysAdminHelp\ and double-click on Default.htm or index.html.

Note: Use the IP address only if the IP address is static. If the LM server has a dynamic (DHCP) IP address, use the computer name instead. Consultant with your IT professional if you are unsure.

Note: If you have more than one LSFORCEHOST variable (i.e. one in the User variables section and one in the System variables section, the user one overrides the system one), delete the user variable and add/edit only the system variable.

On Windows 8.1 , Windows 10 or Windows Server 2012

  1. Press the Windows logo key + R to launch the Run dialog box
  2. Type sysdm.cpl and press Enter to launch the System Properties dialog box
  3. Click the Advanced tab
  4. Click Environment Variables.
  5. Under the System variables box, click New.
  6. In the Variable Name box, type LSFORCEHOST
  7. In the Variable Value box, type the IP address or the computer name for the License Manager server. For example, type 192.168.40.193 or SERVERNAME and Click OK

On Windows 7:

  1. Click the Windows Start menu, Control Panel
  2. Click System, Advanced system settings,
  3. Click Environment Variables.
  4. Under the System variables box, click New.
  5. In the Variable Name box, type LSFORCEHOST
  6. In the Variable Value box, type the IP address or the computer name for the License Manager server. For example, type 192.168.40.193 or SERVERNAME and Click OK

On Windows Vista:

  1. Click the Windows Start menu, Control Panel
  2. Select System and Maintenance, System, Advanced system settings
  3. Click Environment Variables.
  4. Under the System Variables box, click New.
  5. In the Variable Name box, type LSFORCEHOST
  6. In the Variable Value box, type the IP address or the computer name for the License Manager server. For example, type 192.168.40.193 or SERVERNAME and Click OK.


[BCB:154:Chat 100 Contractor US:ECB]
Steps to duplicate
Related Solutions