Publishing Geoprocessing Service Not working

970
1
Jump to solution
08-07-2013 11:58 AM
ShaningYu
Frequent Contributor
1)  Create a Python script and load it as a tool in \myGDB.gdb\ToolBox\myScriptTool.  This tool will be used to process some tables and feature classes in the \myGDB.gdb\.
2)  Execute the myScriptTool successfully using AcrCatalog and get the 'Succeeded' message in the Result Window.
3)  In the Result Window, right-click the \Current Session\myScriptTool and then click Share as Geoprocessing Service.
4)  Publish the tool as a service.
5)  In the Catalog tree, open the published geoprocessing tool in \GIS Servers\myServer\...\.  The tool pops out but its interface is somehow different from the one in Step 2).  The parameter entry for the Workspace is gone.
6)  In another three parameter entry textboxes, I navigate to \myGOB\ for each of them.
7)  Click OK to run.
The popped out the results show that the implementation 'Failed' but no detail in the Messages
It appears to be that I did something incorrect.  I wish someone can share his/her experience for publishing geoprocessing too.  Thanks.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ShaningYu
Frequent Contributor
I changed the approach to ModelBuilder with parameters.  I first run the created ModelBuilder as tool successfully.  Then I published the result as a geoprocessing tool.  In Step 3, I run the published geoprocessing tool successfully.  This thread is to be closed.

View solution in original post

0 Kudos
1 Reply
ShaningYu
Frequent Contributor
I changed the approach to ModelBuilder with parameters.  I first run the created ModelBuilder as tool successfully.  Then I published the result as a geoprocessing tool.  In Step 3, I run the published geoprocessing tool successfully.  This thread is to be closed.
0 Kudos