<?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 Problem executing an ArcToolBox in a geoprocessor in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588787#M19495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had the next problem when I've tried to execute a tool form a geoprocessor object, the code that I've executed is the next, where 'rutas' and 'arcosMod' are line feature layers that are inteo a local geodatabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "gp = New ESRI.ArcGIS.Geoprocessor.Geoprocessor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim toolSelByLocation As SelectLayerByLocation = New SelectLayerByLocation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; toolSelByLocation.in_layer = "G:\simetria\simetria16-04-10\Simetria2008.gdb\Sim2008\rutas"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; toolSelByLocation.select_features = "G:\simetria\simetria16-04-10\Simetria2008.gdb\Sim2008\arcosMod"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; toolSelByLocation.overlap_type = "INTERSECT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Dim resultGp As IGeoProcessorResult&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resultGp = gp.Execute(toolSelByAtt, Nothing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch err As Exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(err.Message)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And when I execute this command I have the next error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception of type tipo 'System.Runtime.InteropServices.COMException' in ESRI.ArcGIS.Geoprocessor.dll&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 May 2010 15:41:16 GMT</pubDate>
    <dc:creator>CayetanoRuiz_de_Alarcón_Quinte</dc:creator>
    <dc:date>2010-05-03T15:41:16Z</dc:date>
    <item>
      <title>Problem executing an ArcToolBox in a geoprocessor</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588787#M19495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had the next problem when I've tried to execute a tool form a geoprocessor object, the code that I've executed is the next, where 'rutas' and 'arcosMod' are line feature layers that are inteo a local geodatabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "gp = New ESRI.ArcGIS.Geoprocessor.Geoprocessor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim toolSelByLocation As SelectLayerByLocation = New SelectLayerByLocation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; toolSelByLocation.in_layer = "G:\simetria\simetria16-04-10\Simetria2008.gdb\Sim2008\rutas"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; toolSelByLocation.select_features = "G:\simetria\simetria16-04-10\Simetria2008.gdb\Sim2008\arcosMod"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; toolSelByLocation.overlap_type = "INTERSECT"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Dim resultGp As IGeoProcessorResult&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resultGp = gp.Execute(toolSelByAtt, Nothing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catch err As Exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(err.Message)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Try"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And when I execute this command I have the next error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception of type tipo 'System.Runtime.InteropServices.COMException' in ESRI.ArcGIS.Geoprocessor.dll&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 15:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588787#M19495</guid>
      <dc:creator>CayetanoRuiz_de_Alarcón_Quinte</dc:creator>
      <dc:date>2010-05-03T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing an ArcToolBox in a geoprocessor</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588788#M19496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error seems to appear in the constructor code at "Geoprocessor gp = new Geoprocessor();".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The returned exception message is (in French):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;La création d'une instance du composant COM avec le CLSID {5374EC4C-1AA2-4829-A811-DE624ECEC23F} à partir de IClassFactory a échoué en raison de l'erreur suivante*: 80010105.;&amp;nbsp;&amp;nbsp; à ESRI.ArcGIS.Geoprocessor.Geoprocessor..ctor()&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This error appeared "randomly"...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 18:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588788#M19496</guid>
      <dc:creator>DavidBachy</dc:creator>
      <dc:date>2010-06-14T18:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing an ArcToolBox in a geoprocessor</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588789#M19497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have the same problem too.&lt;BR /&gt;The error seems to appear in the constructor code at "Geoprocessor gp = new Geoprocessor();".&lt;BR /&gt;The returned exception message is (in French):&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;La création d'une instance du composant COM avec le CLSID {5374EC4C-1AA2-4829-A811-DE624ECEC23F} à partir de IClassFactory a échoué en raison de l'erreur suivante*: 80010105.;&amp;nbsp;&amp;nbsp; à ESRI.ArcGIS.Geoprocessor.Geoprocessor..ctor()&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;This error appeared "randomly"...&lt;BR /&gt;I don't know why?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David did you figure this out?&amp;nbsp; I have the same problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 11:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-executing-an-arctoolbox-in-a-geoprocessor/m-p/588789#M19497</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2010-06-24T11:17:54Z</dc:date>
    </item>
  </channel>
</rss>

