Select to view content in your preferred language

Geoprocessing Model - Find Nearest feature - Warning 000725  and 000732 Error

1215
1
03-19-2014 01:45 AM
GaneshSolai_Sambandam
Regular Contributor
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
0 Kudos
1 Reply
GaneshSolai_Sambandam
Regular Contributor
Hi Guys
I have solved geoprocessing problem i have with my model. Actually, When I publish the model alone as a geprocessing service, it reports that the near layer data are not found.

When I include the model in the Arcmap mxd document and published them as a geoprocessing service with result map service, the model tries to work and it could get the results for my near features in the rest end point.

To be honest, I really don't know why the model works when it is published as a geoprocessing with result map service and why it doesn't work when it is published just a model and basically, it is mystery.

Now, my next step is to integrate my geoprocessing result map service into web application to see how it works. I have to write my javascript code and it is a real challenge here to see how it works.

Regards
Ganesh

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
0 Kudos