<?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 Automation Exception in addToolbox() in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-in-addtoolbox/m-p/456837#M12386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to replicate the &lt;/SPAN&gt;&lt;STRONG&gt;deletefeatures &lt;/STRONG&gt;&lt;SPAN&gt;sample using ArcObjects and Java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have defined 4 classes a functiontool, a functionfactory, a toolRunner and a Main similar to the deletefeatures example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the toolRunner class as a java application from eclipse, i get&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Adding Toolbox wstoolbox.tbx to the GeoProcessor...AutomationException: 0x80004005 - Unable to open solution registry key. in 'FrameworkEngine.PLTSUtils.1'&lt;BR /&gt; at com.esri.arcgis.geoprocessing.GeoProcessor.addToolbox(Unknown Source)&lt;BR /&gt; at custom.geoprocessing.watershed.WatershedModelerToolRunner.runTool(WatershedModelerToolRunner.java:195)&lt;BR /&gt; at custom.geoprocessing.watershed.WatershedModelerToolRunner.main(WatershedModelerToolRunner.java:175)&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The deletefeatures sample is running fine. However as I do not have a JAR file for this new tool I am using the DeletefeaturesExt.jar. Can anyone shed some light on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Avi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 21:05:50 GMT</pubDate>
    <dc:creator>AvishekDutta</dc:creator>
    <dc:date>2012-11-06T21:05:50Z</dc:date>
    <item>
      <title>Automation Exception in addToolbox()</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-in-addtoolbox/m-p/456837#M12386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to replicate the &lt;/SPAN&gt;&lt;STRONG&gt;deletefeatures &lt;/STRONG&gt;&lt;SPAN&gt;sample using ArcObjects and Java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have defined 4 classes a functiontool, a functionfactory, a toolRunner and a Main similar to the deletefeatures example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the toolRunner class as a java application from eclipse, i get&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Adding Toolbox wstoolbox.tbx to the GeoProcessor...AutomationException: 0x80004005 - Unable to open solution registry key. in 'FrameworkEngine.PLTSUtils.1'&lt;BR /&gt; at com.esri.arcgis.geoprocessing.GeoProcessor.addToolbox(Unknown Source)&lt;BR /&gt; at custom.geoprocessing.watershed.WatershedModelerToolRunner.runTool(WatershedModelerToolRunner.java:195)&lt;BR /&gt; at custom.geoprocessing.watershed.WatershedModelerToolRunner.main(WatershedModelerToolRunner.java:175)&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The deletefeatures sample is running fine. However as I do not have a JAR file for this new tool I am using the DeletefeaturesExt.jar. Can anyone shed some light on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Avi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 21:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-in-addtoolbox/m-p/456837#M12386</guid>
      <dc:creator>AvishekDutta</dc:creator>
      <dc:date>2012-11-06T21:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automation Exception in addToolbox()</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-in-addtoolbox/m-p/456838#M12387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I gave up trying to make my classes look like those in &lt;/SPAN&gt;&lt;STRONG&gt;deletefeatures &lt;/STRONG&gt;&lt;SPAN&gt;sample. Now I have just one class where I try to copy a raster from one folder to another. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still getting the &lt;/SPAN&gt;&lt;STRONG&gt;Automation Exception&lt;/STRONG&gt;&lt;SPAN&gt; but it says &lt;/SPAN&gt;&lt;STRONG&gt;unspecified error&lt;/STRONG&gt;&lt;SPAN&gt;, instead of the one before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Avishek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 12:06:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/automation-exception-in-addtoolbox/m-p/456838#M12387</guid>
      <dc:creator>AvishekDutta</dc:creator>
      <dc:date>2012-11-07T12:06:03Z</dc:date>
    </item>
  </channel>
</rss>

