Hi,
Is it still possible to use an ArcGIS for Server license in a ArcObject Java program?
If yes, how to do so?
What has been tried:
The result:
Is it still possible to use an ArcGIS for Server license in a ArcObject Java program?
If yes, how to do so?
What has been tried:
Code:
EngineInitializer.initializeServer(esriProductCode.esriProductCodeServerStandardEdition);
EngineInitializer.initLicensing(esriProductCode.esriProductCodeServerStandardEdition, "C:\\Program Files\\ArcGIS\\Server\\bin");
Code:
Exception in thread "main" AutomationException: 0x80040228 - The Product License has not been initialized. in 'Esri GeoDatabase'
at com.esri.arcgis.datasourcesGDB.FileGDBWorkspaceFactory.openFromFile(Unknown Source)
at TestLicense.main(TestLicense.java:60)