Dim Info As IEnumerable(Of ESRI.ArcGIS.RuntimeInfo) = ESRI.ArcGIS.RuntimeManager.InstalledRuntimes ' check installed runtimes for each item in Info pProductCode = ESRI.ArcGIS.ProductCode.Server 'do it all at once... ESRI.ArcGIS.RuntimeManager.BindLicense(pProductCode, ESRI.ArcGIS.LicenseLevel.Standard) *'aoLicenseIntializer = New ESRI.ArcGIS.esriSystem.AoInitialize() ' Must be the first object created Next
Solved! Go to Solution.