Is This Content Helpful?
We're glad to know this article was helpful.
After installing ArcGIS Engine Runtime, by default, the following license/product is selected by the runtime, as is seen in ArcGIS Administrator: ArcGIS Engine (Concurrent Use)
When creating a simple MapControl-based Engine app, and authenticating it programmatically using an ESLF secure Engine license and the following API call:
ESRI.ArcGIS.esriSystem.IAuthorizeLicense.AuthorizeASRFromFile()The following error occurs when running the application:
System.ComponentModel.LicenseException: You must have a license to use this ActiveX control, at System.Windows.Forms.AxHost.CreateInstance() at ......................
The cause of this error is that the wrong product/license option is selected in ArcGIS Administrator (as mentioned above, this is default behavior when ArcGIS Engine is freshly installed).