I have two geoprocessing packages, exported/generated from ArcPro 3.0 with Runtime support enabled, that fail to load when I try to do so in my .NET 6 application. The error I get is the following:
Esri.ArcGISRuntime.Http.ArcGISWebException
HResult=0x00000000
Message=Failed to create service createrasterdataset GPServer. Worker process 'createrasterdataset_host' exited while attempting to service request (attempt 1 of 1): endpoint='admin' headers={} params={asynchronous=, filePath=c:\arcgis\createrasterdataset.gpkx, jobDir=c:\arcgis\ArcGISTemp\arcgisruntime_56612\createrasterdataset\jobs, maxRecords=800, name=createrasterdataset, outputDir=c:\arcgis\ArcGISTemp\arcgisruntime_56612\createrasterdataset, type=GPServer, virtualDir=http://localhost.:50000/zDXgjS/outputdir/createrasterdataset} res='create' post=0 Crash dump path=
Source=Esri.ArcGISRuntime
StackTrace:
at Esri.ArcGISRuntime.Http.ArcGISHttpClientHandler.ArcGISClientHandlerInternal.<SendAsync>d__15.MoveNext()
at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext()
at Esri.ArcGISRuntime.LocalServices.LocalService.<StartServiceInternal>d__25.MoveNext()
I have not been able to find any documentation to direct me as to what I am doing wrong. Any assistance would be greatly appreciated.