<?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 Application Won't Run in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571165#M15401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's an update...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know if this is a bug or what...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have made the Custom Application work on a Desktop License...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What i have found out is that there is nothing wrong in the codes but in the Ax Controls...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i enable the Preview in Design Mode the applications in looking for the Developers Kit License...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when it is disabled the application will run...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this can help others with the same problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for answering Brent... how can i give you the point? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2014 08:19:29 GMT</pubDate>
    <dc:creator>Gregory_KevinMorales</dc:creator>
    <dc:date>2014-05-08T08:19:29Z</dc:date>
    <item>
      <title>ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571159#M15395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have created an ArcGIS Engine Application using 10.2.2 and VS 2010 .Net...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and installed the ArcGIS Runtime 10 in a separate computer...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the application was installed but when i try to run my application it just wont open...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can someone tell me what im missing... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the custom application have a license control added and ArcGIS Engine is checked...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i really need this done... im being rushed... hope someone can help me here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 08:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571159#M15395</guid>
      <dc:creator>Gregory_KevinMorales</dc:creator>
      <dc:date>2014-04-30T08:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571160#M15396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have any error message to give us?&amp;nbsp; Without that it will be impossible to diagnose.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing to check in the meantime.&amp;nbsp; Look in the ArcGIS administrator and see what licenses are available.&amp;nbsp; Make sure it is the correct license that you expected and that it is not expired.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But even if you do not have a license, you should be getting an error message somewhere.&amp;nbsp; Check the event log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brent&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 13:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571160#M15396</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-04-30T13:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571161#M15397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for responding Brent...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in ArcGIS Administrator the ArcGIS Engine Runtime is fine... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have about a year before it expires...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and about the error... i can't catch it in code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i got this after running the application installed...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Files that help describe the problem:
&amp;nbsp; C:\Users\GIS_2\AppData\Local\Temp\WER6AB2.tmp.WERInternalMetadata.xml
&amp;nbsp; C:\Users\GIS_2\AppData\Local\Temp\WER8A90.tmp.appcompat.txt
&amp;nbsp; C:\Users\GIS_2\AppData\Local\Temp\WER8B5C.tmp.mdmp

Read our privacy statement online:
&amp;nbsp; http://go.microsoft.com/fwlink/?linkid=104288&amp;amp;clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
&amp;nbsp; C:\Windows\system32\en-US\erofflps.txt
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:34:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571161#M15397</guid>
      <dc:creator>Gregory_KevinMorales</dc:creator>
      <dc:date>2021-12-12T00:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571162#M15398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;maybe what i really want to know is...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what is needed to be installed in a client pc for the custom application made from VS2010 and ArcGIS Engine Developers Kit to run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have added this in the MyApplication_Startup where the string is generated from License Viewer of Runtime SDK WPF using RUD license code in the same computer where i develop&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ArcGISRuntime.SetLicense("")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and added this in LicenseInitializer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim supportedRuntimes() As ProductCode = New ProductCode() {ProductCode.Engine, ProductCode.Desktop}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each c As ProductCode In supportedRuntimes
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (RuntimeManager.Bind(c)) Then Return
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (Not ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine)) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (Not ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop)) 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; MsgBox("ArcGIS runtime binding failed. Application will shut down.")
&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; End If&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am using 3 machines to test my application where i installed the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pc 1 - ArcGIS Engine Runtime 10 using the EDN Dev. Kit License&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pc 2 - ArcGIS Desktop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pc 3 - ArcGIS Engine Runtime SDK for Java&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in PC 1 and PC 3 when i run the application i just get a error saying "The Application has stopped working."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in PC 2 got the application running just until a message appear "This control requires an ArcGIS Engine Developer Kit License."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe its because only Desktop is installed in that machine...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and now im stuck...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571162#M15398</guid>
      <dc:creator>Gregory_KevinMorales</dc:creator>
      <dc:date>2021-12-12T00:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571163#M15399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I almost looks like a Microsoft problem.&amp;nbsp;&amp;nbsp; If you can't catch the error, you should be able to locate the offending line by peppering the code with message boxes.&amp;nbsp; It may not even make it to the ESRI code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are not binding you should get a prettier error message:&amp;nbsp; "ArcGIS version not specified.&amp;nbsp; You must call RuntimeManager.Bind before creating any ArcGIS components."&amp;nbsp; or&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to bind to an ArcGIS Engine runtime.&amp;nbsp; Ensure the specified runtime is installed before running this application".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The message on PC2 would tell me that you used to have a valid license for it, but the license has timed out.&amp;nbsp; PC1 and 3 almost sound like DotNet Framework errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also there is an ESRI.ArcGIS.ProductCode.EngineOrDesktop option so you shouldn't have to individually check for both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following has always been sufficient for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.EngineOrDesktop);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571163#M15399</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2021-12-12T00:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571164#M15400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again brent...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will try to install other frameworks to the pc to see if the problem will be resolved...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and will also try putting only &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop)
ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.EngineOrDesktop)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the licenseinitializer and see what will happen...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but is it really possible to run a application built in ArcGIS Engine Development Kit to run in a Desktop License only?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:34:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571164#M15400</guid>
      <dc:creator>Gregory_KevinMorales</dc:creator>
      <dc:date>2021-12-12T00:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Engine Application Won't Run</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571165#M15401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's an update...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know if this is a bug or what...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have made the Custom Application work on a Desktop License...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What i have found out is that there is nothing wrong in the codes but in the Ax Controls...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i enable the Preview in Design Mode the applications in looking for the Developers Kit License...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when it is disabled the application will run...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this can help others with the same problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for answering Brent... how can i give you the point? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 08:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-engine-application-won-t-run/m-p/571165#M15401</guid>
      <dc:creator>Gregory_KevinMorales</dc:creator>
      <dc:date>2014-05-08T08:19:29Z</dc:date>
    </item>
  </channel>
</rss>

