<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with ArcGIS Engine not finding a license in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184174#M4793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At ArcGIS 10 you have to bind to a product before attempting to check out a license.&amp;nbsp; At the top of this page is a Help link.&amp;nbsp; Follow that to the SDK help and there is a help topic on migrating your code to ArcGIS 10 that should help you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2012 12:37:41 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2012-03-08T12:37:41Z</dc:date>
    <item>
      <title>Problem with ArcGIS Engine not finding a license</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184172#M4791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The create_shapefile C++ example fails to run with these messages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not bind to a valid ArcGIS installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not bind to a valid ArcGIS installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not bind to a valid ArcGIS installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not bind to a valid ArcGIS installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not bind to a valid ArcGIS installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The engine and SDk have been installed and authorised without any problem. ArcGIS desktop runs fine without complaining about a license, just the ArcObject runtime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is stopping us from working so any ideas would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 11:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184172#M4791</guid>
      <dc:creator>MichaelEvans</dc:creator>
      <dc:date>2012-03-08T11:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ArcGIS Engine not finding a license</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184173#M4792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A bit more info. This sample code is where it fails:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bool InitAttemptWithoutExtension(esriLicenseProductCode product)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; IAoInitializePtr ipInit(CLSID_AoInitialize);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; esriLicenseStatus status = esriLicenseFailure;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; HRESULT hr = ipInit-&amp;gt;Initialize(product, &amp;amp;status);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; return (status == esriLicenseCheckedOut);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The HR result says "Application can not be run more than once". There are no other esri apps running (or other visual studio instances). I even rebooted the machine to make sure that there were no background processes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a single use license.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It has us stumped!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 12:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184173#M4792</guid>
      <dc:creator>MichaelEvans</dc:creator>
      <dc:date>2012-03-08T12:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ArcGIS Engine not finding a license</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184174#M4793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At ArcGIS 10 you have to bind to a product before attempting to check out a license.&amp;nbsp; At the top of this page is a Help link.&amp;nbsp; Follow that to the SDK help and there is a help topic on migrating your code to ArcGIS 10 that should help you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 12:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184174#M4793</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-08T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ArcGIS Engine not finding a license</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184175#M4794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the lead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is not a migration, but one of ESRI's V10.0 samples. However, your suggestion led to this bug (&lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDYxNjUx"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDYxNjUx&lt;/A&gt;&lt;SPAN&gt;) regarding ARCGIS_VERSION not be defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All resolved now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 13:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-with-arcgis-engine-not-finding-a-license/m-p/184175#M4794</guid>
      <dc:creator>MichaelEvans</dc:creator>
      <dc:date>2012-03-08T13:02:57Z</dc:date>
    </item>
  </channel>
</rss>

