<?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 Running LicenseInitializer in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457444#M12391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am running a console app in Visual Studio 2010 that uses the LicenseInitializer code. I get the following error when I try to run the app:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in TestApp.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additional information: Retrieving the COM class factory for component with CLSID {E01BE902-CC85-4B13-A828-02E789E0DDA9} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It breaks on this line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private IAoInitialize m_AoInit = new AoInitializeClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Am I not correctly registering the ESRI dll's?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 02:31:29 GMT</pubDate>
    <dc:creator>SethPatrich</dc:creator>
    <dc:date>2010-06-18T02:31:29Z</dc:date>
    <item>
      <title>Error Running LicenseInitializer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457444#M12391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am running a console app in Visual Studio 2010 that uses the LicenseInitializer code. I get the following error when I try to run the app:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in TestApp.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additional information: Retrieving the COM class factory for component with CLSID {E01BE902-CC85-4B13-A828-02E789E0DDA9} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It breaks on this line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private IAoInitialize m_AoInit = new AoInitializeClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Am I not correctly registering the ESRI dll's?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 02:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457444#M12391</guid>
      <dc:creator>SethPatrich</dc:creator>
      <dc:date>2010-06-18T02:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Running LicenseInitializer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457445#M12392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No replies until now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a solution by now?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got the same or a similar problem, but only on a windows 7 system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any helpful ideas are welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 08:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457445#M12392</guid>
      <dc:creator>FrankHochstrate</dc:creator>
      <dc:date>2011-05-03T08:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error Running LicenseInitializer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457446#M12393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As ArcGIS is a 32bit application you have to change the target platform to x86 for the project that checks out the license;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to project properties &amp;gt; build &amp;gt; platform target &amp;gt; change anyCPU or whatever this says to x86&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 11:55:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-running-licenseinitializer/m-p/457446#M12393</guid>
      <dc:creator>BramVan_Helleputte1</dc:creator>
      <dc:date>2016-05-20T11:55:35Z</dc:date>
    </item>
  </channel>
</rss>

