Problem: Cannot check out ArcGIS 10.1 for Server licenses from an ArcGIS Engine application using ArcObjects
ArcObjects can be used to check out ArcGIS for Server licenses from an ArcGIS Engine application; however, there may be an issue that prevents ArcGIS 10.1 for Server licenses from being checked out.
This issue can be caused by one of the following:
In ArcGIS 10, a stand-alone ArcGIS Engine application needs to be explicitly bound to a specific ArcGIS product to use ArcObjects. To check out an ArcGIS Server license, bind the ArcGIS Engine application to the ArcGIS for Server product; do not bind to ArcGIS for Desktop or ArcGIS Engine.
Solution or Workaround
- Bind the ArcGIS Engine application to an ArcGIS Server product before invoking any ArcObjects by using following code:
- Modify the project settings to target the x64 platform.A. Open the project in Visual Studio.
B. Click the Build tab on the project's Properties page.
C. Select x64 from the Platform target drop-down menu.