<?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: Running application with ArGIS Server license in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314094#M10123</link>
    <description>&lt;P&gt;Thanks, what you're saying makes sense. I was worrying about the initialization because it's the only difference that makes the application crashing. I'm focusing on this line:&lt;/P&gt;&lt;P&gt;oWS = new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(@drP["FGDB_PATH"].ToString())));&lt;/P&gt;&lt;P&gt;I wrapped this single line in a try/catch. If i run the code locally, where ArcGIS Server is not installed, the execution ends in the catch, as i'd expect it to. If i run it on a server with&amp;nbsp;ArcGIS Server installed, the application just closes. If i try to run that line in an Immediate window, i get an error prompt that roughly translates to "Destination process exited with code 1 (0x00000001) during evaluation of function 'ArcGIS.Core.Data.Geodatabase.Geodatabase')".&lt;/P&gt;&lt;P&gt;No catch, no exception. I don't know what to do with this. Would you have any suggestion?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 15:11:43 GMT</pubDate>
    <dc:creator>AleAlma</dc:creator>
    <dc:date>2023-08-01T15:11:43Z</dc:date>
    <item>
      <title>Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1310924#M10064</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;i'm trying to run an application using an&amp;nbsp;&lt;SPAN&gt;ArGIS Server license and it keeps crashing. It might need further code investigation, but reading the documentation i had a concern.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As it says in here (&lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic29063.html" target="_blank"&gt;Initialize(LicenseProductCode) Method—ArcGIS Pro&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Pro must be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;installed&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on the host machine&lt;/LI&gt;&lt;LI&gt;An ArcGIS Pro license must be available&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is that necessary even in this case?&lt;/P&gt;&lt;P&gt;If i run this application using&amp;nbsp;Host.Initialize(Host.LicenseProductCode.ArcGISPro) with ArcGIS Pro installed and logged in it works perfectly fine.&lt;/P&gt;&lt;P&gt;If i use&amp;nbsp;Host.Initialize(Host.LicenseProductCode.ArcGISServer) on a machine with ArcGIS Pro installed but logged out and ArcGIS Server installed and running, the application can be launched without any error, but as soon as i try to start executing a function it crashes without any error or warning.&lt;/P&gt;&lt;P&gt;According to the documentation i should have all the prerequisites in place, is there anything else i should check? Could it run without ArcGIS Pro installed using only ArcGIS Server?&lt;/P&gt;&lt;P&gt;Thank you for any help&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 09:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1310924#M10064</guid>
      <dc:creator>AleAlma</dc:creator>
      <dc:date>2023-07-24T09:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1310929#M10065</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you seen this thread:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/core-host-license-with-arcgis-server-product-code/td-p/1135090" target="_self"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/core-host-license-with-arcgis-server-product-code/td-p/1135090&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 10:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1310929#M10065</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-07-24T10:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1311068#M10067</link>
      <description>&lt;P&gt;if Host.Initialize is successful (no exception) then the issue is with your code.&amp;nbsp; place a try catch around your code to capture the exception. that is where i would start.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 16:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1311068#M10067</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2023-07-24T16:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314079#M10121</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you for the suggestion but I had already seen that thread and sadly it didn't help me in this case.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 14:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314079#M10121</guid>
      <dc:creator>AleAlma</dc:creator>
      <dc:date>2023-08-01T14:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314094#M10123</link>
      <description>&lt;P&gt;Thanks, what you're saying makes sense. I was worrying about the initialization because it's the only difference that makes the application crashing. I'm focusing on this line:&lt;/P&gt;&lt;P&gt;oWS = new Geodatabase(new FileGeodatabaseConnectionPath(new Uri(@drP["FGDB_PATH"].ToString())));&lt;/P&gt;&lt;P&gt;I wrapped this single line in a try/catch. If i run the code locally, where ArcGIS Server is not installed, the execution ends in the catch, as i'd expect it to. If i run it on a server with&amp;nbsp;ArcGIS Server installed, the application just closes. If i try to run that line in an Immediate window, i get an error prompt that roughly translates to "Destination process exited with code 1 (0x00000001) during evaluation of function 'ArcGIS.Core.Data.Geodatabase.Geodatabase')".&lt;/P&gt;&lt;P&gt;No catch, no exception. I don't know what to do with this. Would you have any suggestion?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314094#M10123</guid>
      <dc:creator>AleAlma</dc:creator>
      <dc:date>2023-08-01T15:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314103#M10124</link>
      <description>&lt;P&gt;at this juncture u need tech support to help u debug your code&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1314103#M10124</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2023-08-01T15:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Running application with ArGIS Server license</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1407117#M11363</link>
      <description>&lt;P&gt;Unfortunately asking tech support seems to be a dead end.&lt;/P&gt;&lt;P&gt;I noticed a very similar question in this post&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/core-host-license-with-arcgis-server-product-code/m-p/1296805/highlight/true#M9919" target="_blank"&gt;Solved: Re: Core Host license with ArcGIS Server product c... - Esri Community&lt;/A&gt;&amp;nbsp;:"&lt;SPAN&gt;Is it possible to run an app on the server with libraries and ArcGIS Server license, without installing/licensing ArcGIS Pro?&lt;/SPAN&gt;"&lt;BR /&gt;Getting a clear answer would be really appreciated and until now Esri failed to provide it.&lt;BR /&gt;Moreover, why would an&amp;nbsp;&lt;SPAN&gt;ArGIS Server license be mentioned in the documentation if it doesn't serve any purpose in this context?&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic29061.html" target="_blank"&gt;Host.LicenseProductCode Enumeration—ArcGIS Pro&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 14:01:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/running-application-with-argis-server-license/m-p/1407117#M11363</guid>
      <dc:creator>AleAlma</dc:creator>
      <dc:date>2024-04-08T14:01:27Z</dc:date>
    </item>
  </channel>
</rss>

