Failed to Create GP Service using Local Server in .Net 200.0

362
1
03-07-2023 01:20 AM
sankarareddy
New Contributor

Hi,

Unable to run the GPKX file  using Local Server in Map SDK .NET 200.0 Version.

Error Message:

Failed to create service testtool GPServer. Worker process 'testtool_host' exited while attempting to service request (attempt 1 of 1): endpoint='admin' headers={} params={asynchronous=, filePath=e:\siva\buffer.gpkx, jobDir=C:\Users\siva.t\AppData\Local\Temp\arcgisruntime_39336\testtool\jobs, maxRecords=1000, name=buffer, outputDir=C:\Users\siva.t\AppData\Local\Temp\arcgisruntime_39336\testtool, type=GPServer, virtualDir=http://127.0.0.1:50000/FQ59lP/outputdir/buffer} res='create' post=0 Crash dump path=

Note: Local Server Sample are working but which i created gpkx is not working.

Pls help on this.

 

Tags (2)
0 Kudos
1 Reply
Rachael_Ellen
Esri Contributor

Hello, it looks like you might be having the same issue as: https://community.esri.com/t5/net-maps-sdk-questions/geoprocessing-packages-from-arcgis-pro-3-fail-t...

Unfortunately, packages created at ArcGIS Pro version 3.0 are not yet supported in Local Server (for the version matrix see System requirements for 200.0 | ArcGIS Maps SDK for .NET | ArcGIS Developers).

But, when using ArcGIS Pro 3.x and using the Package Result GP tool you can uncheck All Versions and just check 2.9 to create your .gpkx and run that with Local Server. For more info see Package Result (Data Management)—ArcGIS Pro | Documentation.

Hope that helps!