<?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 to execute geoprocessing tool in arcobject java in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/problem-to-execute-geoprocessing-tool-in-arcobject/m-p/145870#M4934</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;SPAN&gt;I'm trying to build a geoprocessing tool and when i execute the geoprocessor, i've got an "access denied" error ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help me please ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working on arcgis server 9.3.1 with the arcobject java api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my code : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.esri.arcgis.geoprocessing.tools.analysistools.*; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeoProcessor gp = (GeoProcessor) getServerContext().createObject(GeoProcessor.getClsid());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Union u = new Union(inFeatureTitres, eraseRes);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IGeoProcessorResult geoRes = gp.execute(u,null); //I've got an exception at this line &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AutomationException: 0x5 - Access is denied. in 'Invoke'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.Rpc.a(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.jb.a(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.Dispatch.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.system.IVariantArrayProxy.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.system.VarArray.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.system.VarArray.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.geoprocessing.GeoProcessor.a(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.geoprocessing.GeoProcessor.validate(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at nc.scsi.sig.proto.dao.core.impl.TitreMinierDao$6.doItInArcgis(TitreMinierDao.java:331) ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jul 2010 23:35:12 GMT</pubDate>
    <dc:creator>scsiscsi</dc:creator>
    <dc:date>2010-07-26T23:35:12Z</dc:date>
    <item>
      <title>Problem to execute geoprocessing tool in arcobject java</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-to-execute-geoprocessing-tool-in-arcobject/m-p/145870#M4934</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;SPAN&gt;I'm trying to build a geoprocessing tool and when i execute the geoprocessor, i've got an "access denied" error ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help me please ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working on arcgis server 9.3.1 with the arcobject java api&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my code : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.esri.arcgis.geoprocessing.tools.analysistools.*; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeoProcessor gp = (GeoProcessor) getServerContext().createObject(GeoProcessor.getClsid());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Union u = new Union(inFeatureTitres, eraseRes);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IGeoProcessorResult geoRes = gp.execute(u,null); //I've got an exception at this line &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AutomationException: 0x5 - Access is denied. in 'Invoke'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.Rpc.a(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.jb.a(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.interop.Dispatch.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.system.IVariantArrayProxy.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.system.VarArray.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.system.VarArray.&amp;lt;init&amp;gt;(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.geoprocessing.GeoProcessor.a(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.arcgis.geoprocessing.GeoProcessor.validate(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at nc.scsi.sig.proto.dao.core.impl.TitreMinierDao$6.doItInArcgis(TitreMinierDao.java:331) ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jul 2010 23:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-to-execute-geoprocessing-tool-in-arcobject/m-p/145870#M4934</guid>
      <dc:creator>scsiscsi</dc:creator>
      <dc:date>2010-07-26T23:35:12Z</dc:date>
    </item>
  </channel>
</rss>

