[GIS] Publishing geoprocessing tools to ArcGIS for Server gives ERROR 001488

arcgis-10.1arcgis-serverarctoolboxgeoprocessing

I have been trying to publish a geoprocessing tool to our new ArcGIS for Server 10.1 with SP1. I configured the serves to not to copy data to server when publishing services.

The tool ran well and was shared as a service definition file successfully from ArcCatalog. It however always failed in publish server from ArcGIS Server Web Manager due to the following error:

ERROR 001488: The service you are trying to publish includes data but
the site has been configured such that data cannot be copied to the
server. ERROR 001364: Validation of service definition failed. Failed
to execute (Publish Service Definition). Failed.

Can anyone help with any hints?

Best Answer

It seems as the GP service you are trying to publish does need to copy some project data required for using the service. However, since you have configured the server to not allow data copying, the publishing fails. What you might need to set up is a data store. Basically, you inform the server that there is a certain workspace where the data is stored and you will make sure that the ArcGIS Server Account will have access to this place when the GP service will run and will need to access this project data.

This should make the publishing go through without copying the data yet referencing the data.