vmbp

How is possible to publish in AGS a custom toolbox implemented with IGPFunction2?

Discussion created by vmbp on Mar 10, 2011
Latest reply on Dec 18, 2013 by vmbp
I've implemented a custom tool for toolbox with IGPFunction2 and IGPFunctionFactory.

I've read the basics in http://resources.esri.com/help/9.3/arcgisengine/dotnet/e7d06ae9-a6d1-4248-a7a3-9d5f375f088c.htm.

Since It has unsupported parameters, as explained here: http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geoprocessing/an_ove-2102662086.htm , I had did "Using the string representation" in a model and then I had published it.

I've used examples like "creating a non-trivial" custom GP tool" and "Calculate Area", using ModelBuilder if it has been necessary.

In all case, absolutly in all case, i've obtained this messages:

On publishing: Configuration ServerGPObject.GPServer is not found - in Server Configuration - as warning.

On using: ERROR 000816: The tool is not valid. in ServerGPObject.GPServerSync - as error.

I've read this in 9.3.1, written in aug 2010, http://forums.arcgis.com/threads/16614-Add-Custom-GP-Tool-to-Toolbox?highlight=implementing+custom+toolbox
which goes back historically to feb 2009 in http://forums.esri.com/thread.asp?t=274589&f=1170&c=93.

Consequently, what is required to publish with ArcGIS Server a custom tool in ArcToolbox and the examples given are forgetting? for example, "extends server object"? as http://edndoc.esri.com/arcobjects/9.2/NET_Server_Doc/developer/ArcGIS/ArcObjects/extend_ags_extension.htm , with options "[AutomationProxy(true), ClassInterface(ClassInterfaceType.AutoDual)]". Is itdocumented?, for example, where write automationProxy and AutoDual?.

What needs to be done so that a tool can be published on AGS?.

It is really possible to publish a custom tool for toolbox or only it's possible to publish custom models and custom scripts?. Aparently, documentation from ESRI only explains this case with models and scripts.

Developement environment:
XP SP 3 Prof Ed.
ArcGIS Server & Desktop 9.3.1
VS 2008.
Framework .NET 3.5

Thanks in advance and best regards.

Outcomes