<?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: ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192589#M5003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you resolve this issue ? Im facing the similar issue when I install my ArcGIS engine 10&amp;nbsp; .NET app on a machine with ArcGIS Desktop10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im doing &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (!RuntimeManager.Bind(ProductCode.EngineOrDesktop))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show("Unable to bind to ArcGIS runtime. Application will be shut down.");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im getting &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You must have a license to use this ActiveX Control. Its failing on endinit of AX control. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2011 19:35:31 GMT</pubDate>
    <dc:creator>AdityaTadakaluru</dc:creator>
    <dc:date>2011-03-31T19:35:31Z</dc:date>
    <item>
      <title>ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192586#M5000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an app written in VB.Net 2008 using ArcGIS Engine 10 (Build 2414).&amp;nbsp; The license control on the usercontrol that contains my map/toc is set to 'ArcGIS Engine' (which is the default).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I install the app on a clean (test) machine and configure the license to use the ArcGIS Engine license included with my EDN subscription everthing works as expected.&amp;nbsp; When I deploy my app to a client that has Deskop 10 installed then the app fails with this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Exception has been throw by the target of an invocation'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do I need to do to get my app to run when Desktop 10 is installed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 18:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192586#M5000</guid>
      <dc:creator>DougMarquardt</dc:creator>
      <dc:date>2010-11-05T18:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192587#M5001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some weeks ago I have seen an example somewhere in the SDK with the code to check if ArcGIS Engine or ArcGIS Desktop license is available. I can not remember where I have seen it but try to search in the SDK documentation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 10:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192587#M5001</guid>
      <dc:creator>MarcN</dc:creator>
      <dc:date>2010-11-10T10:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192588#M5002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Some weeks ago I have seen an example somewhere in the SDK with the code to check if ArcGIS Engine or ArcGIS Desktop license is available. I can not remember where I have seen it but try to search in the SDK documentation.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understand the docs correctly, which license is installed should not make a difference as the license control will check for both and use whatever is available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 12:52:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192588#M5002</guid>
      <dc:creator>DougMarquardt</dc:creator>
      <dc:date>2010-11-12T12:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192589#M5003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you resolve this issue ? Im facing the similar issue when I install my ArcGIS engine 10&amp;nbsp; .NET app on a machine with ArcGIS Desktop10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im doing &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (!RuntimeManager.Bind(ProductCode.EngineOrDesktop))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show("Unable to bind to ArcGIS runtime. Application will be shut down.");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im getting &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You must have a license to use this ActiveX Control. Its failing on endinit of AX control. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 19:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192589#M5003</guid>
      <dc:creator>AdityaTadakaluru</dc:creator>
      <dc:date>2011-03-31T19:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192590#M5004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm also doing &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (!RuntimeManager.Bind(ProductCode.EngineOrDesktop))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MessageBox.Show("Unable to bind to ArcGIS runtime. Application will be shut down.");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...and this works, however when my form loads with the map control I get :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must have a license to use this ActiveX Control. Its failing on endinit of AX control. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone tracked this down?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:39:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192590#M5004</guid>
      <dc:creator>RudyLambert</dc:creator>
      <dc:date>2011-07-27T14:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine 10 .Net App License Fails with Desktop 10 installed</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192591#M5005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found out the answer is indeed to create the control or controls programmatically. In VB.Net I first declared a new instance of the control:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Friend WithEvents Map1 As New ESRI.ArcGIS.Controls.AxMapControl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, following the InitializeComponent call, added the control:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Me.Controls.Add(Map1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, during the form load, call a routine that defines placement, anchor, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 16:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-10-net-app-license-fails-with/m-p/192591#M5005</guid>
      <dc:creator>RudyLambert</dc:creator>
      <dc:date>2011-09-02T16:28:58Z</dc:date>
    </item>
  </channel>
</rss>

