<?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: Deploy an arcgis engine application with ArcGIS Desktop License in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372840#M9775</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;Besides binding to the appropriate product, you also need to initialize with the appropriate license code for that product. The example code is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001s0000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001s0000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jaime&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2012 19:50:12 GMT</pubDate>
    <dc:creator>JaimeNeira</dc:creator>
    <dc:date>2012-05-07T19:50:12Z</dc:date>
    <item>
      <title>Deploy an arcgis engine application with ArcGIS Desktop License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372839#M9774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I developped an application with arcGIS Engine and i want to deploy it in a machine that have only an ArcGIS Desktop license installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put this code in the application startup code, but not result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have a procedure to do it please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 11:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372839#M9774</guid>
      <dc:creator>xxxlpmo</dc:creator>
      <dc:date>2012-05-07T11:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy an arcgis engine application with ArcGIS Desktop License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372840#M9775</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;Besides binding to the appropriate product, you also need to initialize with the appropriate license code for that product. The example code is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001s0000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001s0000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jaime&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 19:50:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372840#M9775</guid>
      <dc:creator>JaimeNeira</dc:creator>
      <dc:date>2012-05-07T19:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy an arcgis engine application with ArcGIS Desktop License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372841#M9776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jaime for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to bind the appropriate product and initialize with the appropriate license code for that product. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop)


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim aoi As AoInitialize = New AoInitializeClass()

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim productCode As esriLicenseProductCode = esriLicenseProductCode.esriLicenseProductCodeArcView
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If aoi.IsProductCodeAvailable(productCode) = esriLicenseStatus.esriLicenseAvailable Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aoi.Initialize(productCode)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in execution, the data is not loaded in the mapControl and TOCcontrol. like this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14164[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that my MXD file display the data when i open it with ArcMAP. and my application work when i initialize with Engine in the developpement computer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any idea please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372841#M9776</guid>
      <dc:creator>xxxlpmo</dc:creator>
      <dc:date>2021-12-11T17:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy an arcgis engine application with ArcGIS Desktop License</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372842#M9777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi 'Saidman',&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know, the issue that the screenshot shows is with the location of the data (programming issue is solved!). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that you could, in Visual Studio, in design view, set the Map Control's Map document property and set it to show it in 'preview' to confirm if, in design view, you are neither seeing the map. Verify the map's data location, the map document's Pathnames property (is it storing relative pathnames to data sources?) and be sure to open in the engine application exactly the same map document (not a copy) that you are opening in ArcMAP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jaime&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-an-arcgis-engine-application-with-arcgis/m-p/372842#M9777</guid>
      <dc:creator>JaimeNeira</dc:creator>
      <dc:date>2012-05-08T20:26:23Z</dc:date>
    </item>
  </channel>
</rss>

