problems with clip and ship Geoprocessing Task

526
3
07-03-2012 11:27 AM
stephensontag
New Contributor
I'm trying to create a Clip and Ship service with 10.1.  I try to bring a tool (Extract Data Task) onto the map and it gives me the error "A selected item could not be added to the map".

I copied and pasted an old MXD from 10.0 and try to publish as a service and after analyzing the map, I receive "Layer Type is not Supported".

Any help?

-Stephen
Tags (2)
0 Kudos
3 Replies
KevinHibma
Esri Regular Contributor
Tool layers have been deprecated at 10.1.
The workflow for publishing a service which uses layers (such as clip and zip) has changed.
In terms of a workflow that makes sense, the changes are for the better: you no longer "publish a map to get a gp service"....

Check out the updated tutorial for clip and ship. It should explain everything you need to know for publishing layers:
http://resources.arcgis.com/en/help/main/10.1/#/Clip_and_ship/005700000073000000/

If you want more information on the workflow for publishing layers in general (previously tool layer to get at those layers), see the migration topic:
http://resources.arcgis.com/en/help/main/10.1/#/Migrating_geoprocessing_services_from_version_10_to_...
0 Kudos
stephensontag
New Contributor
Thanks Kevin.

Got a little further but ran into this error:
http://forums.arcgis.com/threads/59922-Failed-in-creating-Map-service


I'm using one SDE point file and it doesn't seem to work.

I followed this example:
http://resources.arcgis.com/en/help/main/10.1/#/Migrating_geoprocessing_services_from_version_10_to_...

I am able to package the file and am using the SDE layer in another Map Service, but it doesn't want to work in the Clip/Ship Geoprocessing Task.

Any suggestions?
0 Kudos
KevinHibma
Esri Regular Contributor
Hmmm strange that you can package it, but not turn it into a GP Service.
It should be going through the same code paths to do both of those actions.

Since it says it failed on consolidation, it sounds as if you are not using a datastore (you're copying data out of SDE, putting into an fGDB and moving that to Server - well thats what happens when you dont use data store).
Could you register your SDE connection with the Server and try to publish again. Does that succeed?

If not, you said you have been able to successfully package it. Could you send me the package and I'd try your workflow here?
khibma[@]esri.com
0 Kudos