When creating a MapControl with ActiveX controls based engine application in Visual C++ using MFC, and running the MapControl on a machine licensed with any ArcGIS license other than an Engine Runtime or Engine Developer Kit, the application returns a debug assertion exception.
Last Published: February 16, 2016ArcGIS Engine
Bug ID Number
July 31, 2015
April 27, 2022
Operating System Version
2008 R2 64 Bit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
The application contains a License Control in addition to code that attempts to check out a license. The License Control is set to Engine only. When the application loads to attempts to check out an Engine License which fails because it does not exist and the License Control reports a failure to get a license, and the rest of the Controls fail to load.
The application should either rely on the code to check out the license or use the Control. Not both. If you modify the application to use only the License Control (and specify desktop licenses also in the control) or you delete the license control from the form the application will work as expected.
Modify the application to use only the license control (and specify desktop licenses), or delete the license control from the form.