00178: Data: <value>; used by <value> cannot be copied to the server

The task you are attempting to publish as a geoprocessing service has data that cannot be copied to the GIS server, or the site has been purposely configured by the site administrator such that data cannot be copied to the server. Data types that cannot be copied, such as .exe, .bat, .dll, and so on, present a security risk.

Solution

You have two possible solutions:

  1. Remove the unsupported file. For example, if your script makes use of a folder and an unsupported file is contained in the folder, remove the unsupported file and continue publishing.
  2. Set up a data store entry. Unsupported file types cannot be copied to the server, but you can reference the folder containing the file, ensuring the server has access to the file and they are safe to be used as a geoprocessing service. If your server administrator has disabled data copy during publishing, a data store entry will ensure the server has access to the necessary data. Contact your server administrator for more information on setting up a data store or allowing for data copy during publishing.

9/1/2015