ERROR

ArcGIS Pro: An unknown error has occurred. Contact your administrator to check that the license manager is running with valid licenses

Last Published: March 25, 2024

Error Message

When attempting to log in to ArcGIS Pro with an organizational account, the following error message is returned:

Error:   
An unknown error has occurred. Contact your administrator to check that the license manager is running with valid licenses.
Image showing the error message: An unknown error has occured. Contact your administrator to check that the license manager is running with valid licenses.

Cause

  • An incorrect ArcGIS Online or Portal for ArcGIS URLs are stored in the system registry.
  • The ArcGIS License Manager machine's MAC address and/or IP address has changes.
  • An incorrect ArcGIS License Manager IP address is used for connection.
  • Incorrect ports are used to connect to ArcGIS License Manager
  • A firewall is not configured to allow connections to ArcGIS License Manager.

Solution or Workaround

Update and specify the correct URL address in Windows Registry Editor

Warning: 
The instructions below include making changes to essential parts of the operating system. Esri recommends performing a backup of the operating system and files, including the registry, before proceeding.

Esri cannot guarantee results from incorrect modifications while following these instructions. Exercise caution. Consult a qualified computer systems professional if necessary.
  1. Close all the ArcGIS applications on the machine.
  2. Open the Windows Start menu.
  3. In the search bar, type regedit and press Enter. If prompted, click Yes in the User Account Control window.
Image showing the search for Registry Editor by typing regedit in Windows search
  1. In the Registry Editor window, expand HKEY_CURRENT_USER > Software > ESRI > ArcGIS Online for Pro > SignIn.
  2. In the SignIn folder, update the URL values for HomeServerURIFile and AuthorizationPortal to direct to the correct ArcGIS Online or Portal for ArcGIS URL addresses.
Image showing the URL for HomeServerURIFile and AuthorizationPortal in Registry Editor
  1. Open ArcGIS Pro, and log in with the organizational account.

Recover the license in MyEsri if the machine's MAC address changes

Clear the trusted storage for the licenses and recover the lost licenses in My Esri. Refer to How To: Clear or delete trusted storage for concurrent-use and single-use licenses for steps.

Connect to ArcGIS License Manager via a port

ArcGIS License Manager can run on ports 27000 to 27009. Other programs may interfere with the connection if the same port is used, preventing ArcGIS Administrator from connecting to ArcGIS License Manager. To prevent this, connect to ArcGIS License Manager via a specific port.

  1. Launch ArcGIS Administrator on the client machine.
  2. Click Desktop in the left pane of ArcGIS Administrator. Click Change in the right pane.
  3. Type in the hostname and the port number in the following format: 'port@hostname'. Click OK.
image.png

Modify the service.txt file

By default, the service.txt file does not denote a specific port for ArcGIS License Manager to use. Editing this file locks ArcGIS License Manager to a specific unused port.

  1. Navigate to the following directory and open service.txt on the host machine.
C:\Program Files\ArcGIS\License10.x\bin
  1. By default, the contents of the file are as shown below:
SERVER this_host ANY
VENDOR ARCGIS
FEATURE ACT ARCGIS 1 permanent 1 7ED49106D630
  1. Edit the contents of the file as shown below:
SERVER this_host ANY 27000
VENDOR ARCGIS port=27004
FEATURE ACT ARCGIS 1 permanent 1 7ED49106D630
Note:
Any value between 27000 and 27009 can be used for VENDOR ARCGIS PORT.
    1. Save the service.txt file.
    2. Connect to ArcGIS License Manager via ArcGIS Administrator.

    Configure the firewall

    Firewall configurations may prevent ArcGIS License Manager from receiving and making connections. The firewall must be configured to allow ArcGIS License Manager to work through it.

    1. Navigate to Control Panel > Windows Firewall > Advanced Settings.
    2. Click Inbound Rules in the left pane.
    Image of the Windows Firewall Inbound Rules window
    1. Click New Rule in the right pane. The New Inbound Rule wizard runs.
    2. Select Program > Next.
    Image of the Rule Type selection step in the New Inbound Rule Wizard
    1. Check This program path. Navigate to the following directory by selecting lmgrd.exe > Open > Next:
    C:\Program Files\ArcGIS\License10.x\bin
    Image of the Program selection step in the New Inbound Rule Wizard
    1. Select Allow the connection > Next.
    Image of the Action step in the New Inbound Rule Wizard
    1. Check the check boxes of all the available options and click Next.
    Image of the Profile selection step in the New Inbound Rule Wizard
    1. Name the rule (for example, ArcGIS License Manager) and click Finish.
    Image of the Name selection step in the New Inbound Rule Wizard
    1. Repeat the same steps for the ARCGIS.exe and LSAdmin.exe files. Both files are stored in the same location specified in Step 5.
    2. Repeat the 'Configuring the firewall' process for Outbound Rules.

    Article ID: 000024032

    Software:
    • ArcGIS Pro 2 7 x
    • ArcGIS Pro 2 x

    Receive notifications and find solutions for new or common issues

    Get summarized answers and video solutions from our new AI chatbot.

    Download the Esri Support App

    Related Information

    Discover more on this topic

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options