English

Error: Portal for ArcGIS does not have a valid license. For instructions on how to authorize the software, see the help topic Authorizing Portal for ArcGIS

Error Message

After authorizing Portal for ArcGIS 10.5 with a license provisioned for a previous version, Portal for ArcGIS becomes inaccessible.

Error:   
Portal for ArcGIS does not have a valid license. For instructions on how to authorize the software, see the help topic Authorizing Portal for ArcGIS.

Once authorization is complete, please open the Portal for ArcGIS website.

Cause

This is a known issue. Portal for ArcGIS versions 10.2 through 10.4.1 require a provisioned license (this can be obtained from the My Esri website.) At Portal for ArcGIS 10.5 and later, there is a license key requirement specific to the version of Portal for ArcGIS. However, the ArcGIS Software Authorization Wizard accepts license files provisioned for either version portal. Therefore, Portal for ArcGIS rejects the invalid license information and the above error is returned.

Solution or Workaround

The instructions provided describe how to workaround this known issue.

  1. Stop Portal for ArcGIS.
  2. Open Program Files (x86)\Esri\License10.5\sysgen\keycodes (or C:\Program Files\ESRI\License10.5\sysgen\keycodes) with a text editor.
  3. Remove the invalid license details for any incorrect software version listed.
  4. Restart the software.

OR

  1. Stop Portal for ArcGIS.
  2. Navigate to Program Files (x86)\Esri\License10.5\sysgen\ (or C:\Program Files\ESRI\License10.5\sysgen).
  3. Delete or rename the Keycodes file.
  4. Re-license Portal for ArcGIS with the correct license.