Hi Guys,
I have built my Geoprocessing model to find nearest feature from the input location in model builder and published them as a geoprocessing service. The model works perfectly well in ARCGIS desktop. when I published them as a geoprocessing service, and tested the service with REST end points in arcgis server using submit Job Operation, I got the following error. Basically, the error reports that NearFeature layers doesn't exist, but in reality it does exist in the map and it has hard coded and the second issue is the output datasets -from the geoprocessing service reports that the data already exist. Actually, I have checked the Overwrite Outputs of geoprocessing operations in Arccatalog and ArcMap before building the model.
The model overwrites output datasets and finds all near feature layers when it is run from Arcmap. However, when it is run from REST end points, it causes errors saying data already exist or not found.
Have anyone come across this issue when publishing them as a geoprocessing service. Anyhelp would be much appreciated.
[HTML]Job Details: Model
Check Job Details:
Return Messages: True False
View In: Google Earth
Job ID: j4b4f0182872145a093f614736caf1486
Job Status: esriJobFailed
Job Messages:
esriJobMessageTypeInformative: Submitted.
esriJobMessageTypeInformative: Executing...
esriJobMessageTypeInformative:
esriJobMessageTypeWarning: WARNING 000725: KCC_InputFeature_GenerateNea8: Dataset C:\arcgisserver\python\FindFeatures2\Features.gdb\KCC_InputFeature_GenerateNea8 already exists.
esriJobMessageTypeError: The value does not exist. The value does not exist. The value does not exist. ERROR 000732: Near Features: Dataset GuidedWalks;KCC_PROMOTED_ROUTEZ_2;KCC_COUNTRYPARKZ does not exist or is not supported ERROR 000732: Join Features: Dataset KCC_COUNTRYPARKZ does not exist or is not supported ERROR 000732: Join Features: Dataset KCC_PROMOTED_ROUTEZ_2 does not exist or is not supported ERROR 000732: Join Features: Dataset GuidedWalks does not exist or is not supported WARNING 000725: Output Dataset: Dataset C:\arcgisserver\python\FindFeatures2\Features.gdb\KCC_InputFeature_GenerateNea8 already exists.
esriJobMessageTypeError: Failed.
[/HTML]
Regards
Ganesh