<?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 Geoprocessor service failed: LocalServer start failed: executable not found. in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631817#M7769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen a couple posts for this issue but can't seem to find any answers -&lt;/P&gt;&lt;P&gt;I am attempting to start a local geoprocessing service in my runtime desktop application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the code provided in the desktop guide for local geoprocessing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://developers.arcgis.com/net/desktop/guide/run-a-geoprocessing-task.htm#ESRI_SECTION1_65A6A93A402D49408E9C9687CF090DED" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/net/desktop/guide/run-a-geoprocessing-task.htm#ESRI_SECTION1_65A6A93A402D49408E9C9687CF090DED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private string gpkPath = @"C:\Testing\Model.gpk";&lt;/P&gt;&lt;P&gt;private string gpUrl = string.Empty;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private async void StartLocalGpService()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gpService = new LocalGeoprocessingService(gpkPath, GeoprocessingServiceType.SubmitJobWithMapServerResult);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; await gpService.StartAsync();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpUrl =&amp;nbsp; gpService.UrlGeoprocessingService;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the 'await gpService.StartAsync();' line it throws this exception:&lt;/P&gt;&lt;P&gt;Sample Error&lt;/P&gt;&lt;P&gt;Geoprocessor service failed: LocalServer start failed: executable not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried a variety of very basic .gpk packages all with 'Support ArcGIS Runtime' checked.&amp;nbsp; I've also tried all combinations of the geoprocessingservicetype (execute, submitjob, and SubmitJobWithMapServerResult)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there at least any .gpk samples out there that work that I can test on my machine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2015 05:48:28 GMT</pubDate>
    <dc:creator>GeoffKlein</dc:creator>
    <dc:date>2015-09-03T05:48:28Z</dc:date>
    <item>
      <title>Geoprocessor service failed: LocalServer start failed: executable not found.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631817#M7769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen a couple posts for this issue but can't seem to find any answers -&lt;/P&gt;&lt;P&gt;I am attempting to start a local geoprocessing service in my runtime desktop application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the code provided in the desktop guide for local geoprocessing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://developers.arcgis.com/net/desktop/guide/run-a-geoprocessing-task.htm#ESRI_SECTION1_65A6A93A402D49408E9C9687CF090DED" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/net/desktop/guide/run-a-geoprocessing-task.htm#ESRI_SECTION1_65A6A93A402D49408E9C9687CF090DED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private string gpkPath = @"C:\Testing\Model.gpk";&lt;/P&gt;&lt;P&gt;private string gpUrl = string.Empty;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private async void StartLocalGpService()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gpService = new LocalGeoprocessingService(gpkPath, GeoprocessingServiceType.SubmitJobWithMapServerResult);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; await gpService.StartAsync();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpUrl =&amp;nbsp; gpService.UrlGeoprocessingService;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the 'await gpService.StartAsync();' line it throws this exception:&lt;/P&gt;&lt;P&gt;Sample Error&lt;/P&gt;&lt;P&gt;Geoprocessor service failed: LocalServer start failed: executable not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried a variety of very basic .gpk packages all with 'Support ArcGIS Runtime' checked.&amp;nbsp; I've also tried all combinations of the geoprocessingservicetype (execute, submitjob, and SubmitJobWithMapServerResult)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there at least any .gpk samples out there that work that I can test on my machine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 05:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631817#M7769</guid>
      <dc:creator>GeoffKlein</dc:creator>
      <dc:date>2015-09-03T05:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor service failed: LocalServer start failed: executable not found.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631818#M7770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error indicates that the API cannot find the LocalServer...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Are you using the Nuget package for the API? If so, that does not include the LocalServer and you'll need to download the full SDK setup from &lt;A href="https://developers.arcgis.com/net/" title="https://developers.arcgis.com/net/"&gt;ArcGIS Runtime SDK for .Net | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;- If you have installed the SDK and have created a deployment then you need to make sure you check the boxes for LocalServer and Geoprocessing support &lt;A href="https://developers.arcgis.com/net/desktop/guide/deployment.htm" title="https://developers.arcgis.com/net/desktop/guide/deployment.htm"&gt;Create an ArcGIS Runtime deployment—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;- If you haven't created a deployment or set the ArcGISRuntimeEnvironment.InstallPath property then check the LocalServer did install ok under program files: C:\Program Files (x86)\ArcGIS SDKs\DotNet10.2.6\WindowsDesktop\bin\arcgisruntime10.2.6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631818#M7770</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2015-09-03T08:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor service failed: LocalServer start failed: executable not found.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631819#M7771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mike,&lt;/P&gt;&lt;P&gt;Checking the boxes for local server and geoprocessing in the manifest file solved the 'executable not found' issue.&amp;nbsp; I still can't seem to get the model to run successfully as a geoprocessing package.&amp;nbsp; Now my error is:&lt;/P&gt;&lt;P&gt;Geoprocessor service failed: Error code '400' : 'Unable to complete operation.' Error executing tool.: ERROR 000816: The tool is not valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same tool works in my runtime application if I share it as a geoprocessing service and set my uri for the geoprocessorTask to the service on arcgis server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model is very simple, uses merge and Make Feature Layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked local server, geoprocessing, and all the geoprocessing sub categories in the deployment.arcgisruntimemanifest file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got ArcGIS SDK 10.2.6 and created the .gpk on ArcMap 10.3.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geoff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 22:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631819#M7771</guid>
      <dc:creator>GeoffKlein</dc:creator>
      <dc:date>2015-09-03T22:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor service failed: LocalServer start failed: executable not found.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631820#M7772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works if I create the geoprocessing package using a machine with ArcGIS Desktop 10.2 installed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 02:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631820#M7772</guid>
      <dc:creator>GeoffKlein</dc:creator>
      <dc:date>2015-09-04T02:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor service failed: LocalServer start failed: executable not found.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631821#M7773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it work from Desktop 10.3.1 if you install the patch: &lt;A href="http://support.esri.com/en/downloads/patches-servicepacks/view/productid/160/metaid/2233" title="http://support.esri.com/en/downloads/patches-servicepacks/view/productid/160/metaid/2233"&gt;ArcGIS 10.3.1 for Desktop Package Map For ArcGIS Runtime Patch | Samples and Utilities &lt;/A&gt;​?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 08:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631821#M7773</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2015-09-04T08:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessor service failed: LocalServer start failed: executable not found.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631822#M7774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No luck using the patch on my end.&amp;nbsp; I installed the patch, verified it with patchfinder, created a geoprocessing package using the results from the same model that works in 10.2, and got the same error (&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;ERROR 000816: The tool is not valid&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I make a model in 10.2.2 and share the results as a geoprocessing package it will work in runtime.&amp;nbsp; If I run that same model on desktop 10.3.1 (with the patch) it runs fine, but the package I create from the results does not work.&amp;nbsp; Once the model has been run in 10.3, it will not show up when I browse to the toolbox in catalog for 10.2, so I can't go back and test it in the other direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Geoff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 03:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/geoprocessor-service-failed-localserver-start/m-p/631822#M7774</guid>
      <dc:creator>GeoffKlein</dc:creator>
      <dc:date>2015-09-07T03:43:54Z</dc:date>
    </item>
  </channel>
</rss>

