No ArcSDE server license found or SDE run-time license has expired

Last Published: November 28, 2023

Error Message

Attempts to connect to an existing database connection in ArcGIS Pro fail and return the following error:

No ArcSDE server license found or SDE run-time license has expired.
The error window when connecting to existing database connection


The keycodes file used to create the connection from ArcGIS Server is expired. The expiration date can be identified by opening the file using a text editor, for example, Notepad++, and checking the date specified in the strings provided in the file as shown in the following image:

The expiration date in the keycodes file

Solution or Workaround

To resolve the issue, generate and retrieve the new keycodes file.

  1. Retrieve the latest version of the keycodes file depending on the following scenarios:
C:\Program Files\Esri\Licenses<version>\sysgen
  1. Connect to the database. Refer to ArcGIS Pro: Database connections in ArcGIS Pro for more information.

Article ID:000031579

  • ArcGIS Server
  • ArcGIS Pro 3 1
  • ArcGIS Pro 2 9x
  • ArcGIS Pro 3 2
  • ArcGIS Enterprise 11 2
  • ArcGIS Pro 3 0
  • ArcGIS Enterprise 11 1
  • ArcGIS Enterprise 11 0

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