Should ArcGIS change the path of a gdb to the server data store when publishing a GP

المشرف العام

Administrator
طاقم الإدارة
I've published a GP service to ArcGIS server and it fails when I try to run it. The workspace is a file GDB on the local network, and the script contains a UNC path to it. There is a copy of the data on the server, and this GDB is referenced in the data store. See screenshot below.

Now I'm trying to call this service using the Javascript API and the service fails with "ERROR 000732: Input Raster: Dataset AE010S010_020M6004P01M010 does not exist or is not supported."

I've found the python script on the server and the workspace path is still set to the UNC path in the original script. The problem is that when running the GP service, the user is local to the server and does not have access to domain resources, so cannot see the network GDB.

The question is, should ArcGIS change the workspace path in the script to D:\data? I thought that was the whole point of adding a data store entry to the server.



أكثر...
 
أعلى