AnsweredAssumed Answered

esriLicenseProductCodeArcServer cannot be licensed in web service

Question asked by xintaoliu on Nov 24, 2012
Latest reply on Feb 15, 2013 by rlwatson
I created a web service that makes connecting to the geodatabase.

When I debug the code of the web service (C# VS2010), the binding is false and the licenseStatus is "esriLicenseNotLicensed". I believe that the settings are correct (please see attached picture). The operating system is Windows 7 in 64-bit, and my ArcGIS version is 10.1. Thanks.

bool bBinding = ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Server);
IAoInitialize m_AOInit = new AoInitializeClass();
esriLicenseStatus licenseStatus = m_AOInit.Initialize(esriLicenseProductCode.esriLicenseProductCodeArcServer);

[ATTACH=CONFIG]19504[/ATTACH]

Attachments

Outcomes