ERROR

Invalid keycodes file. The enterprise geodatabase is not licensed with this ArcGIS Server

Last Published: August 27, 2025

Error Message

When attempting to access the existing enterprise geodatabase in ArcGIS Pro, the following error message is returned:

Error:
Invalid keycodes file. The enterprise geodatabase is not licensed with this ArcGIS Server.

Cause

This issue occurs because the keycodes file used as the Authorization File parameter in the Create Enterprise Geodatabase tool to create the connection to the database in ArcGIS Pro has expired.

Solution or Workaround

To resolve the issue, apply the following steps to replace the expired ArcGIS Server keycodes file.

Note:
Only a geodatabase administrator can apply the workflows provided below. Refer to ArcGIS Pro: Geodatabase management for more information.
  1. On the ArcGIS Server machine, verify the expiry date of the keycodes file by navigating to the following:
 C:\Program Files\ESRI\License10.x\sysgen
  1. Save a copy of the keycodes file on the machine as a backup, and delete the expired keycodes file.
  2. Create a new ArcGIS Server license file in My Esri. Refer to How To: Create a provisioning file for software authorization in ArcGIS Desktop, ArcGIS Pro, and ArcGIS Server for instructions.
  3. Copy the keycodes file generated on the ArcGIS Server hosting machine to the ArcGIS Pro machine.
  4. Update the enterprise geodatabase license. Refer to Steps 3 through 7 of FAQ: How do I update an expired Enterprise Geodatabase License?.

Article ID: 000037487

Software:
  • ArcGIS Pro
  • ArcGIS Server
  • ArcGIS Enterprise

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options