I've seen a couple posts for this issue but can't seem to find any answers -
I am attempting to start a local geoprocessing service in my runtime desktop application.
I am using the code provided in the desktop guide for local geoprocessing:
private string gpkPath = @"C:\Testing\Model.gpk";
private string gpUrl = string.Empty;
private async void StartLocalGpService()
var gpService = new LocalGeoprocessingService(gpkPath, GeoprocessingServiceType.SubmitJobWithMapServerResult);
gpUrl = gpService.UrlGeoprocessingService;
On the 'await gpService.StartAsync();' line it throws this exception:
Geoprocessor service failed: LocalServer start failed: executable not found.
I've tried a variety of very basic .gpk packages all with 'Support ArcGIS Runtime' checked. I've also tried all combinations of the geoprocessingservicetype (execute, submitjob, and SubmitJobWithMapServerResult)
Are there at least any .gpk samples out there that work that I can test on my machine?