I'm brand new to the world of serving up Geoprocessing services, so hopefully this problem is an easy one! I have created a GP service in ArcMap that simply takes an expression having the ObjectID of a Building feature (e.g "OBJECTID=1234"), and then using the CalculateField tool and a python script, changes a field for that feature to "Hello World!". The model executes perfectly inside of ArcMap. From the model, I published two GPServices (a synchronous and asynch versions) using the Results window in ArcMap. After publishing I can browse to the services using Internet Explorer. Here's the synchronous version: localhost:6080/arcgis/rest/services/CalculateSynchNoOut/GPServer/CalculateSynchNoOut/executeHowever, when I try to execute the task by supplying an expression ("OBJECTID=19974"), I get an unhelpful error, "Error performing execute operation". The ObjectID does exist, so I'm confused as to what the problem is.When I attach Fiddler I see something like this:localhost:6080/arcgis/rest/services/CalculateSynchNoOut/GPServer/CalculateSynchNoOut/execute?Expression=OBJECTID%3d19974&env:outSR=102660&f=json&I have also tried running the code below, but I ultimately get the same error. Can someone suggest a step that I am missing?string url = "http://localhost:6080/arcgis/rest/services/CalculateSynchNoOut/GPServer/CalculateSynchNoOut";
Geoprocessor geoprocessorTask = new Geoprocessor(url);
geoprocessorTask.ExecuteCompleted += new EventHandler<GPExecuteCompleteEventArgs>(geoprocessorTask_ExecuteCompleted);
geoprocessorTask.Failed += new EventHandler<TaskFailedEventArgs>(geoprocessorTask_Failed);
geoprocessorTask.OutputSpatialReference = Map.SpatialReference;
List<GPParameter> parameters = new List<GPParameter>();
parameters.Add(new GPString("Expression", "OBJECTID=19974"));
geoprocessorTask.ExecuteAsync(parameters);
EDIT - I just checked the ArcGIS Server Manager error logs and I found this, "Internal Server Error. Error handling service request: Could not service request. java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset"