AnsweredAssumed Answered

Failure information for GPK?

Question asked by ChristinaElaine on Nov 11, 2015
Latest reply on Mar 29, 2016 by ChristinaElaine

I am running a LocalGeoprocessingService using a gpk I created that I used for the Runtime for WPF, but it fails using the Runtime for .NET. I am using code from Run a geoprocessing task—ArcGIS Runtime SDK for .NET | ArcGIS for Developers  and the code works for sample and most new gpks (created in ArcMap 10.3.1) but not for any older ones that I created using ArcMap 10.1.


The main problem is that when it fails all I get is a GPMessage with MessageType=Error and Description=Failed but there is no information why it failed. How can I get more information about the failure so I know what to correct? I have no way of knowing if there's a problem with the gpk itself, the input features, etc. The service starts fine and there is no exception thrown at any point, just the single vague error message.