English

Problem: New ASR License File fails to authorize Engine from ArcGIS Administrator

Description

Uploading an encrypted ASR license file to ArcGIS Administrator fails to authorize ArcGIS Engine 10.0 SP1 through SP4.

Cause

This is expected behavior, and not a bug. ESRI did not introduce this feature until ArcGIS Engine version 10.1. Thus, attempting to authorize ArcGIS Engine by uploading an encrypted ASR file to ArcGIS Administrator fails at version 10.0.

Solution or Workaround

In order to successfully authorize Engine 10.0 SP1 through SP4 using an encrypted ASR file, insert special licensing code directly into an ArcGIS Engine App, and execute the code. The line of code that performs the authorization is shown below: 

IAuthorizeLicense.AuthorizeASRFromFile(pathToASRLicenseFile, password);
This code successfully authorizes ArcGIS Engine on Windows 7, 8.x, and 10; and on both 32- and 64-bit platforms. See the Microsoft Word file supplied with the ASR License file package for the full source code (.NET and C++) needed to perform the authorization.

ESRI highly recommends that customers move away from ASR files to the more recent ESRI Secure License File (ESLF) technology. ESLF files are supported with ArcGIS Engine versions 10.0 SP5, 10.1 and above.

Related Information