<?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 Licensing problems with ArcGIS 10 C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/licensing-problems-with-arcgis-10-c/m-p/535692#M14473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working with the runtime engine, i have migrated all of my code to the new standard with the exception of the Licensing.&amp;nbsp; I ran the licensing manager on the file containing my static main.&amp;nbsp; It added the license initializer class with no problem.&amp;nbsp; I added the ESRI.ArcGIS.RuntimeManager.Bind(ProductCode.Engine) before the first arcObjects are called which is before the application.Run()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached to the process to see where the code was crashing its crashing at the point where my licenses initializer runs Initialize()&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;The error I get is: &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS version not specified.&amp;nbsp; You must first bind to an ArcGIS version prior to using any ArcGIS cmponents&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the migration resource im using that means that my bind command is not before the first ArcObject being called.&amp;nbsp; But my bind command happens before anything else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight here would be very much appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Nov 2010 13:53:32 GMT</pubDate>
    <dc:creator>RussellWittmer</dc:creator>
    <dc:date>2010-11-18T13:53:32Z</dc:date>
    <item>
      <title>Licensing problems with ArcGIS 10 C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/licensing-problems-with-arcgis-10-c/m-p/535692#M14473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working with the runtime engine, i have migrated all of my code to the new standard with the exception of the Licensing.&amp;nbsp; I ran the licensing manager on the file containing my static main.&amp;nbsp; It added the license initializer class with no problem.&amp;nbsp; I added the ESRI.ArcGIS.RuntimeManager.Bind(ProductCode.Engine) before the first arcObjects are called which is before the application.Run()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached to the process to see where the code was crashing its crashing at the point where my licenses initializer runs Initialize()&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;The error I get is: &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS version not specified.&amp;nbsp; You must first bind to an ArcGIS version prior to using any ArcGIS cmponents&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the migration resource im using that means that my bind command is not before the first ArcObject being called.&amp;nbsp; But my bind command happens before anything else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight here would be very much appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 13:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/licensing-problems-with-arcgis-10-c/m-p/535692#M14473</guid>
      <dc:creator>RussellWittmer</dc:creator>
      <dc:date>2010-11-18T13:53:32Z</dc:date>
    </item>
  </channel>
</rss>

