ArcGIS Enterpise SDK

237
0
11-09-2021 04:55 PM
JimmyWang
New Contributor II

Hello Sir:

Recently, I am investigate ArcGIS Enterpise SDK.  I want to swap my AO. I have some questions for that.

1. Can ArcGIS EnterPrise SDK run under Donet 5 ?

2. Intilization.

When I initialize following. It will pop up an error "System.Runtime.InteropServices.COMException: 'ArcGIS product not specified. You must first bind to an ArcGIS version prior to using any ArcGIS components.'

But I did not find any interface or class to bind ArcGIS Version.

ESRI.ArcGIS.esriSystem.IAoInitialize p = new ESRI.ArcGIS.esriSystem.AoInitialize();
p.Initialize(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeBasic);

 

 

Thanks

Jimmy

0 Kudos
0 Replies