<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Deploy geoprocessing custom tool to arcgis server 9.3 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-geoprocessing-custom-tool-to-arcgis-server/m-p/676821#M18113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I developed custom geoprocessing tool on arcgis 9.3.1 products. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had installed arcgis desktop (arc catalog and arcmap) 9.3; arcengine; arcobject; and arcgis server 9.3.1 on my desktop computer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, i success on custom tool which can run on arcmap. But when i build the model and publish it (tool and model that use this tool) to arcgis server, it get error when execute this model. Error log show: 'ERROR 000816: The tool is not valid.'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had search on internet i found some dicussion about this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/19268/is-it-possible-to-publish-a-geoprocessing-services-that-uses-a-custom-gptool-on"&gt;http://gis.stackexchange.com/questions/19268/is-it-possible-to-publish-a-geoprocessing-services-that-uses-a-custom-gptool-on&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/16614-Add-Custom-GP-Tool-to-Toolbox"&gt;http://forums.arcgis.com/threads/16614-Add-Custom-GP-Tool-to-Toolbox&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Folowing that dicussions, i have try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Build my custom tool to asembly with strong name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Register custom tool to arcgis (in here i wonder which arcgis product) - folowing this page: &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisengine/dotnet/9826f81b-278c-49cc-a912-ab8d86f5e91e.htm"&gt;http://resources.esri.com/help/9.3/arcgisengine/dotnet/9826f81b-278c-49cc-a912-ab8d86f5e91e.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The command i usee is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; regasm EditTools.dll /codebase&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is: C:\Windows\Microsoft.NET\Framework\v2.0.50727&amp;gt;RegAsm.exe C:\Users\Administrator\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Downloads\GPConvexHullTool\CSharp\GP_DGNToSDE\bin\Debug\GP_DGNToSDE.dll /codebas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.5420&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copyright (C) Microsoft Corporation 1998-2004.&amp;nbsp; All rights reserved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Types registered successfully&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i finished two step, i re-publish new map service but get the same error: ERROR 000816: The tool is not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seem that i can not register with arcgis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is how to fix this bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question is when i use the command "regasm EditTools.dll /codebase", which product of arcgis i register for my 'EditTools.dll'? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 02:50:49 GMT</pubDate>
    <dc:creator>TruongPham</dc:creator>
    <dc:date>2013-04-05T02:50:49Z</dc:date>
    <item>
      <title>Deploy geoprocessing custom tool to arcgis server 9.3</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-geoprocessing-custom-tool-to-arcgis-server/m-p/676821#M18113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I developed custom geoprocessing tool on arcgis 9.3.1 products. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had installed arcgis desktop (arc catalog and arcmap) 9.3; arcengine; arcobject; and arcgis server 9.3.1 on my desktop computer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, i success on custom tool which can run on arcmap. But when i build the model and publish it (tool and model that use this tool) to arcgis server, it get error when execute this model. Error log show: 'ERROR 000816: The tool is not valid.'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had search on internet i found some dicussion about this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/19268/is-it-possible-to-publish-a-geoprocessing-services-that-uses-a-custom-gptool-on"&gt;http://gis.stackexchange.com/questions/19268/is-it-possible-to-publish-a-geoprocessing-services-that-uses-a-custom-gptool-on&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/16614-Add-Custom-GP-Tool-to-Toolbox"&gt;http://forums.arcgis.com/threads/16614-Add-Custom-GP-Tool-to-Toolbox&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Folowing that dicussions, i have try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Build my custom tool to asembly with strong name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Register custom tool to arcgis (in here i wonder which arcgis product) - folowing this page: &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisengine/dotnet/9826f81b-278c-49cc-a912-ab8d86f5e91e.htm"&gt;http://resources.esri.com/help/9.3/arcgisengine/dotnet/9826f81b-278c-49cc-a912-ab8d86f5e91e.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The command i usee is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; regasm EditTools.dll /codebase&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is: C:\Windows\Microsoft.NET\Framework\v2.0.50727&amp;gt;RegAsm.exe C:\Users\Administrator\&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Downloads\GPConvexHullTool\CSharp\GP_DGNToSDE\bin\Debug\GP_DGNToSDE.dll /codebas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.5420&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Copyright (C) Microsoft Corporation 1998-2004.&amp;nbsp; All rights reserved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Types registered successfully&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i finished two step, i re-publish new map service but get the same error: ERROR 000816: The tool is not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seem that i can not register with arcgis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is how to fix this bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question is when i use the command "regasm EditTools.dll /codebase", which product of arcgis i register for my 'EditTools.dll'? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 02:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/deploy-geoprocessing-custom-tool-to-arcgis-server/m-p/676821#M18113</guid>
      <dc:creator>TruongPham</dc:creator>
      <dc:date>2013-04-05T02:50:49Z</dc:date>
    </item>
  </channel>
</rss>

