<?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 Error 000824 with Eliminate tool in ArcGIS Engine in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420456#M11299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all. I'm developing a standalone application with ArcGIS Engine in .Net environment.&amp;nbsp; I have license for engine + Spatial analyst + 3D Analyst. Everything works perfect ??? including clip, intersect, Select by attributes, Select By Location, ???. ??? except for Eliminate tool. This is my code for eliminate:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Dim InLayerPath, InLayerName As String
Dim pFDS As IDataset = pFL
InLayerPath = pFDS.Workspace.PathName
InLayerName = pFDS.Name

Dim GP As ESRI.ArcGIS.Geoprocessor.Geoprocessor = New&amp;nbsp; ESRI.ArcGIS.Geoprocessor.Geoprocessor
Dim EliminateTool As New ESRI.ArcGIS.DataManagementTools.Eliminate
EliminateTool.in_features = InLayerPath &amp;amp; "\" &amp;amp; InLayerName &amp;amp; ".shp"&amp;nbsp;&amp;nbsp;&amp;nbsp; 'like c:\a.shp 
EliminateTool.out_feature_class = OutFullPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'input by user like c:\b.shp
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Dim pGPResult As ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult
GP.OverwriteOutput = True
pGPResult = GP.Execute(EliminateTool, Nothing)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the last line, I get HResult error of 2147467259. GP.GetMessages(2) gives me following description of this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to execute. Parameters are not valid. ERROR 000824: The tool is not licensed. Failed to execute (Eliminate). " &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm nearly sure that that there is no problem with license, because in other areas of my code I can run other tools located in DataManagementTools toolbox, like select by location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've spent lots of hours to figure out the source of problem but without any solution.&amp;nbsp; Any help or tip would be greatly appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Mar 2014 13:51:35 GMT</pubDate>
    <dc:creator>BaghdadAlAlavi</dc:creator>
    <dc:date>2014-03-22T13:51:35Z</dc:date>
    <item>
      <title>Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420456#M11299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all. I'm developing a standalone application with ArcGIS Engine in .Net environment.&amp;nbsp; I have license for engine + Spatial analyst + 3D Analyst. Everything works perfect ??? including clip, intersect, Select by attributes, Select By Location, ???. ??? except for Eliminate tool. This is my code for eliminate:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Dim InLayerPath, InLayerName As String
Dim pFDS As IDataset = pFL
InLayerPath = pFDS.Workspace.PathName
InLayerName = pFDS.Name

Dim GP As ESRI.ArcGIS.Geoprocessor.Geoprocessor = New&amp;nbsp; ESRI.ArcGIS.Geoprocessor.Geoprocessor
Dim EliminateTool As New ESRI.ArcGIS.DataManagementTools.Eliminate
EliminateTool.in_features = InLayerPath &amp;amp; "\" &amp;amp; InLayerName &amp;amp; ".shp"&amp;nbsp;&amp;nbsp;&amp;nbsp; 'like c:\a.shp 
EliminateTool.out_feature_class = OutFullPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'input by user like c:\b.shp
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Dim pGPResult As ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult
GP.OverwriteOutput = True
pGPResult = GP.Execute(EliminateTool, Nothing)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the last line, I get HResult error of 2147467259. GP.GetMessages(2) gives me following description of this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Failed to execute. Parameters are not valid. ERROR 000824: The tool is not licensed. Failed to execute (Eliminate). " &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm nearly sure that that there is no problem with license, because in other areas of my code I can run other tools located in DataManagementTools toolbox, like select by location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've spent lots of hours to figure out the source of problem but without any solution.&amp;nbsp; Any help or tip would be greatly appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Mar 2014 13:51:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420456#M11299</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2014-03-22T13:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420457#M11300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed another issue. As you know, for eliminate tool there must be a selected set of features available&amp;nbsp; in input feature layer. How can i tell eliminate geoprocessing tool that my layer has a selection. Usually, i just pass path of layer to geoprocessing tools so geoprocessing tools can not understand if a layer has selection or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how to specify a selection set of features for a geoprocessing tool?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2014 04:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420457#M11300</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2014-03-23T04:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420458#M11301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all. I'm developing a standalone application with ArcGIS Engine in .Net environment.&amp;nbsp; I have license for engine + Spatial analyst + 3D Analyst. Everything works perfect �?? including clip, intersect, Select by attributes, Select By Location, �?�. �?? except for Eliminate tool. This is my code for eliminate:&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Dim InLayerPath, InLayerName As String
Dim pFDS As IDataset = pFL
InLayerPath = pFDS.Workspace.PathName
InLayerName = pFDS.Name

Dim GP As ESRI.ArcGIS.Geoprocessor.Geoprocessor = New&amp;nbsp; ESRI.ArcGIS.Geoprocessor.Geoprocessor
Dim EliminateTool As New ESRI.ArcGIS.DataManagementTools.Eliminate
EliminateTool.in_features = InLayerPath &amp;amp; "\" &amp;amp; InLayerName &amp;amp; ".shp"&amp;nbsp;&amp;nbsp;&amp;nbsp; 'like c:\a.shp 
EliminateTool.out_feature_class = OutFullPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'input by user like c:\b.shp
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Dim pGPResult As ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult
GP.OverwriteOutput = True
pGPResult = GP.Execute(EliminateTool, Nothing)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;In the last line, I get HResult error of 2147467259. GP.GetMessages(2) gives me following description of this error:&lt;BR /&gt;"Failed to execute. Parameters are not valid. ERROR 000824: The tool is not licensed. Failed to execute (Eliminate). " &lt;BR /&gt;I'm nearly sure that that there is no problem with license, because in other areas of my code I can run other tools located in DataManagementTools toolbox, like select by location.&lt;BR /&gt;I've spent lots of hours to figure out the source of problem but without any solution.&amp;nbsp; Any help or tip would be greatly appreciated&lt;BR /&gt;Thanks in advance&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the Help topic for the Eliminate tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000005p000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000005p000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the very bottom, it states that an Advanced license is needed to run the tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420458#M11301</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2021-12-11T18:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420459#M11302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here is the Help topic for the Eliminate tool:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000005p000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000005p000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;At the very bottom, it states that an Advanced license is needed to run the tool.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a world, Neil, for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm nearly getting mad, spending lots of hours for just this tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As i know, advanced license means ArcInfo License and I have it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS License Initializer (Project&amp;gt;Add ArcGIs License Checking in VS 2010) I have Checked ArcInfo and Engine Core. Moreover, i have checked the option "Shut down the application if any of licenses is not available" in that dialog. I can run my program without any problem, hence this indicates that there is no problem with license. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the code in Startup method (in ApplicationEvents.vb) which runs with no problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'ESRI License Initializer generated code.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (Not m_AOLicenseInitializer.InitializeApplication(New esriLicenseProductCode() {esriLicenseProductCode.esriLicenseProductCodeEngine, esriLicenseProductCode.esriLicenseProductCodeArcInfo}, _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New esriLicenseExtensionCode() {esriLicenseExtensionCode.esriLicenseExtensionCode3DAnalyst, esriLicenseExtensionCode.esriLicenseExtensionCodeNetwork, esriLicenseExtensionCode.esriLicenseExtensionCodeSchematics, esriLicenseExtensionCode.esriLicenseExtensionCodeMLE, esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst, esriLicenseExtensionCode.esriLicenseExtensionCodeDataInteroperability, esriLicenseExtensionCode.esriLicenseExtensionCodeTracking})) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(m_AOLicenseInitializer.LicenseMessage() + vbNewLine + vbNewLine _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + "This application could not initialize with the correct ArcGIS license and will shutdown.")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_AOLicenseInitializer.ShutdownApplication()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Cancel = True&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help or point that cames to your mind can be a great help for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 14:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420459#M11302</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2014-03-24T14:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420460#M11303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not work with Engine applications anymore so I am unfamiliar with how the licensing works now.&amp;nbsp; The way that it used to work is it would try checking out the licenses you specified in the order you specified them until a checkout was successful.&amp;nbsp; At that point it would quit checking out licenses.&amp;nbsp; You are specifying the Engine license first, so perhaps it's stopping once that license is checked out.&amp;nbsp; If you have ArcGIS Desktop on the machine, then you don't need the Engine license at all so for a test you could remove the Engine license from the checkout routine and just check out the ArcINFO license.&amp;nbsp; If that works then it indicates the checkout process was stopping at the Engine license.&amp;nbsp; If it fails, then that indicates there is a problem checking out the ArcINFO license.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 14:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420460#M11303</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2014-03-24T14:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420461#M11304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I do not work with Engine applications anymore so I am unfamiliar with how the licensing works now.&amp;nbsp; The way that it used to work is it would try checking out the licenses you specified in the order you specified them until a checkout was successful.&amp;nbsp; At that point it would quit checking out licenses.&amp;nbsp; You are specifying the Engine license first, so perhaps it's stopping once that license is checked out.&amp;nbsp; If you have ArcGIS Desktop on the machine, then you don't need the Engine license at all so for a test you could remove the Engine license from the checkout routine and just check out the ArcINFO license.&amp;nbsp; If that works then it indicates the checkout process was stopping at the Engine license.&amp;nbsp; If it fails, then that indicates there is a problem checking out the ArcINFO license.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I removed Engine license and remained just ArcInfo License but problem still exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had already installed SP5 for Engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone has ArcGIS Engine 10.1 or 10.2 to test this code? Maybe it has solved in upper versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This my simplified code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; Dim GP As ESRI.ArcGIS.Geoprocessor.Geoprocessor = New ESRI.ArcGIS.Geoprocessor.Geoprocessor
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim EliminateTool As New ESRI.ArcGIS.DataManagementTools.Eliminate
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EliminateTool.in_features = "D:\input.shp"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EliminateTool.out_feature_class = "D:\output.shp"
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pGPResult As ESRI.ArcGIS.Geoprocessing.IGeoProcessorResult
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GP.OverwriteOutput = True
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pGPResult = GP.Execute(EliminateTool, Nothing)

&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420461#M11304</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2021-12-11T18:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420462#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you removed the Engine license checkout and it still doesn't work then that indicates a problem with your ArcINFO license.&amp;nbsp; What version of ArcGIS are you programming against?&amp;nbsp; What version of ArcMap is installed on the machine you're running this code on?&amp;nbsp; When you put a breakpoint in your license checkout code and step through it with the debugger, what result is returned from the license checkout call?&amp;nbsp; Are you testing on the same machine you're using for development or do you have a separate test machine?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 12:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420462#M11305</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2014-03-25T12:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420463#M11306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied my code for running eliminate tool to another new application and now, it runs properly with ArcInfo license checked. (Although there is still some errors but they are about inputs of geoprocessing tool and not license). So, I can confirm that eliminate tool runs with ArcInfo license.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, now one more problem has risen.&amp;nbsp; In my original application, If I change Engine Lincese to ArcInfo license, I cannot access to engine controls; I.e.&amp;nbsp; I cannot add data to MapControl or use PageLayoutControl. There is no problem with ArcView or ArcEditor license but these licenses are insufficient for running eliminate tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been reading different documents about licensing these days. As stated &lt;/SPAN&gt;&lt;A href="http://edndoc.esri.com/arcobjects/9.2/NET/26861f76-e388-49ca-9f49-36a2c6d9be0e.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no ArcGIS Engine Runtime equivalent to ArcInfo. Functionality that is only available with an ArcInfo license is not available in ArcGIS Engine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;But &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/java_ao_adf/conceptualhelp/engine/index.html#/Application_Development_and_License_Initialization/000100000353000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;, there are other statements which makes me confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;an application that can run with an ArcGIS Engine license also runs with an ArcView, ArcEditor, and ArcInfo license&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, in second link in example C, it proposes using ArcGIS Engine Runtime license or ArcInfo license, instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Concluding All those mesioned above, I come to this main question:&lt;/SPAN&gt;&lt;STRONG&gt; Can I run my Engine Application (which includes some Engine controls) with ArcInfo License?&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have ArcGIS Desktop And Engine 10 in my computer. I can confirm that ArcInfo license is available, both by looking at ArcGIS Administrator and by running Eliminate tool in ArcGIS Desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my first licensing code in ApplicationEvents.vb that I have changed it in many ways but no help.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Dim EngineAvailable As Boolean = RuntimeManager.Bind(ProductCode.Engine)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim DesktopAvailable As Boolean = RuntimeManager.Bind(ProductCode.Desktop)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim licenseStatus As esriLicenseStatus = esriLicenseStatus.esriLicenseUnavailable
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim m_AoInitialize As IAoInitialize = New AoInitializeClass()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Get a spatial analyst license
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If False Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; licenseStatus = m_AoInitialize.Initialize(esriLicenseProductCode.esriLicenseProductCodeEngine)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; licenseStatus = m_AoInitialize.CheckOutExtension(esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; licenseStatus = m_AoInitialize.CheckOutExtension(esriLicenseExtensionCode.esriLicenseExtensionCode3DAnalyst)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElseIf DesktopAvailable Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; licenseStatus = m_AoInitialize.Initialize(esriLicenseProductCode.esriLicenseProductCodeArcInfo)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; licenseStatus = m_AoInitialize.CheckOutExtension(esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:00:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420463#M11306</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2021-12-11T19:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420464#M11307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Also, in second link in example C, it proposes using ArcGIS Engine Runtime license or ArcInfo license, instead.&lt;BR /&gt;Concluding All those mesioned above, I come to this main question: &lt;STRONG&gt;Can I run my Engine Application (which includes some Engine controls) with ArcInfo License?&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes you can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;One of the advantages of the ArcGIS Engine licensing model is that custom ArcGIS Engine applications can be deployed to users with ArcGIS Desktop installed and the ArcGIS Engine application can leverage the existing ArcGIS Desktop license to run the ArcGIS Engine application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000m9q000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000m9q000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420464#M11307</guid>
      <dc:creator>AhmedEl-Sisi</dc:creator>
      <dc:date>2014-03-27T09:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420465#M11308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What the document is saying is that there is no Engine equivalent to an ArcINFO license.&amp;nbsp; Therefore, if you want to use functionality in your application that requires an INFO license then you MUST check out an ArcGIS Desktop ArcINFO license as there is no ArcGIS Engine license that will be sufficient.&amp;nbsp; In your code, you are binding to the Engine product:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim EngineAvailable As Boolean = RuntimeManager.Bind(ProductCode.Engine)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since your code requires an INFO license and there is no Engine equivalent to that license level, I would imagine you need to bind to the Desktop product.&amp;nbsp; Your application will require the user to have an INFO licensed installation of ArcGIS Desktop installed in order to run your application.&amp;nbsp; They will not need any Engine product or license.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 12:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420465#M11308</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2014-03-27T12:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000824 with Eliminate tool in ArcGIS Engine</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420466#M11309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Neil, I told that this is my first code and I have made various changes to �?? Adding Dektop or EngineOrDesktop �?�.- but none of them worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, finally I could figure out the source of problem. A post in gis.stackexchange&amp;nbsp; was talking about a dialog that I wasn�??t aware of it. This dialog appears by right-clicking on license control and choosing properties. This dialog is the same as �??ArcGIS License Initializer�?� dialog which appears by Project menu&amp;gt;Add ArcGIs License Checking. But the functionality of these 2 dialogs is different, because checking licenses in one has no effect on the other one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw Engine License in this dialog has checked which may have prevented my code from getting ArcInfo License.&amp;nbsp; I checked ArcInfo License in the above-mentioned dialog added following code to startup method of my application :&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; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
m_AOLicenseInitializer.InitializeApplication(New esriLicenseProductCode() {esriLicenseProductCode.esriLicenseProductCodeArcInfo}, _
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New esriLicenseExtensionCode() {esriLicenseExtensionCode.esriLicenseExtensionCode3DAnalyst, esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst})
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I can have both engine controls and eliminate tool working properly. But there is 2 problems (that is not a real problem, maybe&amp;nbsp; a sort of misunderstanding).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. In the new computer which I use for programming, I have no ArcGIS Desktop installed. I have installed jus ArcEngine Runtime and ArcObjects SDK. How could it be possible? My program Works perfectly with ArcInfo License but there is no ArcGIS desktop in my computer. By looking at ArcGIS Administrator, i can confirm that only Engine License is available .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Sometimes, Visual studio prompts me following error: �??You are not licensed for .&amp;nbsp; Use the ArcGIS Adminstrator to view the software Availability, Change the license manager, or switch the ArcGIS software product�?�. Running the program from debug folder, I never get this error. It only appears in VS environment. Do you have any point for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a world and sorry for long post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-000824-with-eliminate-tool-in-arcgis-engine/m-p/420466#M11309</guid>
      <dc:creator>BaghdadAlAlavi</dc:creator>
      <dc:date>2021-12-11T19:00:04Z</dc:date>
    </item>
  </channel>
</rss>

