Is This Content Helpful?
We're glad to know this article was helpful.
ArcObjects can be used to check out an ArcGIS for Server license from an ArcGIS Engine application. Since ArcGIS for Server 10.1 is 64-bit only, the approach for checking out its license is slightly different than previous versions.
Verify the version of the JRE
Verify the arcobjects.jar version
AoInitialize ao = new AoInitialize();
int status = ao.initialize(esriLicenseProductCode.esriLicenseProductCodeArcServer);
if (status == esriLicenseStatus.esriLicenseCheckedOut)
//Apply business logics here