I am trying to publish a working model created using Model Builder which returns a significant result when executed on ArcMap. After having published the model on the ArcGIS Server, it doesn't work, here are some snapshots :
Execution on ArcMap and visualization (red rectangle)
After publishing the geoprocessing (executed from "orange box")
We get a error message (red circle)
We need help please.
Thanks in advance.
So Google Translate tells me that the error is "Invalid return value". Is that correct? If so, can you check the directory manually using ArcMap or ArcCatalog and verify that the data it's expecting is in the scratch geodatabase? Basically, follow the path in the error to see if the data is there, which is outlined here.
You're right, the error is invalid return value.
I explored scratch.gdb, I found that it doesn't contain any result of the geopocessing.
Is it a problem of writing permission?
You can simplify this and just take the input data and save it to the scratch workspace. If that works, then I'm not sure why it wouldn't when you add the rest of the tools. You may want to reach out to technical support.