Timeline for How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 21, 2013 at 16:12 | comment | added | MC5 | I am deploying a custom c# 3.5 'AnyCPU' GP Tool as a GP Service on AGS 10.1. It works in Desktop. I published a Result from desktop to create the Service. I copied the tool DLL to a folder on the server, and tried to run 64-bit esriregasm.exe, which merely responded "registration failed". So then we tried hepiladron's trick to use 64-bit regasm and copy the tool's *.ecfg file from Desktop to Server at ..Program Files\ArcGIS\Server\bin\Configuration\CATID\. When I try to run the service from its Services Directory page, I get "Error executing tool.: ERROR 000816: The tool is not valid". | |
Jan 14, 2013 at 18:35 | comment | added | Petr Krebs | @Kirk: Does it create the .ecfg file when running 64 bit version of EsriRegAsm.exe? | |
Jan 14, 2013 at 15:42 | vote | accept | Kirk Kuykendall | ||
Jan 14, 2013 at 15:42 | comment | added | Kirk Kuykendall | @PetrKrebs With both desktop and server installed on a machine, I run the 64 bit version of EsriRegAsm in C:\Program Files\Common Files\ArcGIS\bin\ESRIRegAsm.exe and then look at the Geoprocessing Function factory category with Categories.exe and there is no mention of my dll. When I run the 32 bit version of EsriRegAsm, it is there. | |
Dec 9, 2012 at 21:16 | comment | added | Petr Krebs | What exactly do you mean by "does not work"? We had no problems using the 64-bit ESRIRegAsm.exe with ArcGIS for Server at 10.1. | |
Sep 22, 2012 at 10:00 | comment | added | blah238 | Something tells me -- if this works -- it is not documented by ESRI anywhere :) | |
Sep 22, 2012 at 4:37 | history | answered | hepiladron | CC BY-SA 3.0 |