001270 : Consolidating the data failed.
Description
The tool could not package the data and resources required for your service.
This error can occur if the size of the path used to publish a GIS resource, or the paths for the data being copied to the server, exceeds the operating system limit and you are copying data to the ArcGIS server.
This path includes the path to the staging folder and the name of the server connection. Along with these, there is a path to the GIS resource you are publishing. For example, if you are publishing a map service, this path would include the name of the map service definition (.msd) contained in the service definition. There are also paths to each data source used by the resource. This would also include paths used within a functional raster or mosaic dataset.
Solution
The resource you are trying to publish may contain errors. Open the GIS resource using the appropriate application (for example, if you are working with a map document, open it with ArcMap), analyze the resource, and fix each error.
Check the length of your paths. If your path exceeds the limit, you can do the following to reduce the number of characters used for this path.
- Register data sources with the ArcGIS server, if you are publishing to an ArcGIS server that can register data sources. If you are publishing to ArcGIS Online you will not be able to register data sources.
Learn more about registering your data with ArcGIS Server using ArcGIS for Desktop
- Change the location of the staging folder to a location
closer to the root directory, C:\temp, for example.
Learn more about changing the default service definition staging folder in ArcGIS for Desktop
- Change the server connection name so it uses fewer characters. To rename the service connection, right-click the service connection in the Catalog window and choose Rename from the menu.
Learn more about connecting to ArcGIS for Server in ArcGIS for Desktop
- Shorten the service name.
Tables that participate in a join must be explicitly added to the map document in order to be published. Learn more about adding a table to a layout