Description
Item IDs cannot be set when publishing services to a stand-alone ArcGIS Server.
Note:
You may encounter this geoprocessing error when running the Upload Service Definition tool in Python; it does not appear when using the Geoprocessing pane.
Solution
Remove the item ID parameter. An item ID is not needed when publishing to a stand-alone server.
See Upload Service Definition for more information.