Select to view content in your preferred language

Issue with Geoprocessing service

4999
12
06-29-2015 03:19 PM
jayshukla
Regular Contributor

Hi There,

I have a GP model that does some analysis and adds few columns in the feature class. I ran this model successfully on my local machine and after that I published this model as a service. The model was published successfuly as well. When i use this GP service and use the featureclasses that are located on my machine, service comes back with an error. I am not sure if GP service can make change to a feature class that is local on my pc. Appreciate any feedback. Thanks Jay

0 Kudos
12 Replies
jayshukla
Regular Contributor

Hi Xander, Here is the model graphic, hope this clarifies what the script is trying to do.

Export Graphic.png

0 Kudos
XanderBakker
Esri Esteemed Contributor

The model explains what the flow of the analysis is and helps a lot. However, without knowing the data, in some parts it is still guessing what is happening. Any chance that you can attach a small part of the input datasets?

0 Kudos
JonathanQuinn
Esri Notable Contributor

Yeah, I agree that exporting from MB has the potential to get weird.  Can you also describe the inputs?  Are they feature sets, raster layers, strings, or choice lists?  The first thing we should look at is how the data is being entered to run the tool, given the error message on the Server end.  Your original post indicates you're running the model as a service, yet you include the code that it's failing on.  Did you try to publish the model, and did that fail as well?  Let us know how you're providing input to the tool, as that's going to be helpful in determining if those inputs are valid or not.  Can you provide a screenshot of the task parameters from the REST endpoint?