After start of geprocessing service, I was facing this type of error.
The example of code is taken from Local server geoprocessing | ArcGIS for Developers
in .xaml.cs file
// Create a map image layer to show the results
ArcGISMapImageLayer myMapImageLayer = new ArcGISMapImageLayer(new Uri(gpServiceResultUrl));
// Load the layer
at await myMapImageLayer.LoadAsync(); it was getting load error "unknown operation:Get Mapserver/jobs/j89....
please resolve the issue
Yes instead of using rasterhillshade.tpk I am using india.mmpk
Is there any other example on geoprocessing with complete file.
Hoping for solution
G N Sharan SAI
Get Outlook for Android<https://aka.ms/ghei36>
Can you share the full code section where you are initializing the local geoprocessing service and executing the job?
Note .TPK (image tile cache) and .MMPK (mobile map package) files provide map content - they are not directly related to geoprocessing.
Your reply was routed through the Geonet email... but it found me with a little help from the Geonet admins:
I have checked the code again and solved the issue, the problem I was facing is
on creating geoprocessing service
_gpService = new LocalGeoprocessingService(gppath, GeoprocessingServiceType.AsynchronousSubmitWithMapServiceResult)
In that above code i forgot include GeoprocessingServiceType. Later on i have added and solved the issue.
I have a doubt how can we know, which type of geoprocessing service requires specific GeoprocessingServiceTYpe
Thanks and Regards
G N Sharan Sai
To answer your question:
As the developer you choose the service type depending on your requirements. These help topics explain more: