With due respect to the Esri Team.
I am asking this question for the third time as I am unable to find any solution to this bug. I have already asked this question twice but still I am helpless. I am unable to use geoprocessing tools in my runtime app because of this issue. The geoprocessing service runs absoultely fine , when I try to run it in Java SDK. Please provide with me with some solution. I am providing the link to my previous discussion as well as I am providing the .dmp (dump) file that gets created after error occurs.
I would also like the Esri team to please go through one of the samples , given in the documentation.
There exists one of the samples which all the other services start , except the geoprocessing service.
Below is the link given to the sample
Hoping for some positive reply.
Thanks in advance
To confirm: in the sample code for `LocalServerGeoprocessing.xaml.cs` you are seeing an exception returned from the awaited call to `_gpService.StartAsync();`?
It could be the default temp path in your user profile is too long.
- Open `...\arcgis-runtime-samples-dotnet\src\WPF\ArcGISRuntime.WPF.Viewer\App.xaml.cs`
- Find line `Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.Initialize();`
- Just above that add line: `Esri.ArcGISRuntime.ArcGISRuntimeEnvironment.TempPath = @"C:\SamplesTemp";`
I have tried changing the path as you mentioned but I receive the same bug again. I don't think that the issue is related to TempPath because if it would have been this issue , my feature service and map service would not start either but to the contrary , feature service and map service start successfully and the problem comes only in case of geoprocessing service (geopackage).
I am attaching the screenshot of my visual studio screen, where you can see that I have changed the path but still I recieve the same error and you can also see that my feature service and map service are starting successfully.
LocalGeoprocessingServices make much greater us of the Temp directory therefore it's often the most likely cause of issues.
Can you share your deployment file? (`ArcGISLocalServer_100.3.AGSDeployment`)
Can you try changing the ArcMap compatible deployment to false?
FROM: `<Package id="ArcMap" name="ArcMap Compatible Server" enabled="true">`
TO: ` <Package id="ArcMap" name="ArcMap Compatible Server" enabled="false">`
This will diagnose if it's a problem with the list of files included for deployment, or possibly with the package you have created.
I tried making the above mention changes , but the same problem persists.
When I tried to execute a .gpkx file (Created from ArcPro) , It runs absoultely fine.Although, I did not make any changes for it in Deployment file and everything related to ArcPro is set to false, but still .gpkx file runs absoultely fine , the problem only comes with .gpk(Created using ArcMap).
What should I do now ?
Thanks in advance