<?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 standalone application (You must have a license to use this ActiveX control) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443784#M12062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing a stand alone application, on my developing machine (win 7, VS 2010) works fine, problem comes to run it under testing machine with arcmap license only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the exeption:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;12.12.11 11:36:56 [001] [ERROR] Code:&amp;nbsp; EXCEPTION: System.ComponentModel.LicenseException: You must have a license to use this ActiveX control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.CreateInstance()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.GetOcxCreate()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.CreateHandle()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.EndInit()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at PreFRAT.MainForm.InitializeComponent() in C:\DHI\Products\src\PreFRAT\B_PFRA\MainForm.Designer.cs:line 910&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at PreFRAT.MainForm..ctor() in C:\DHI\Products\src\PreFRAT\B_PFRA\MainForm.cs:line 169&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at PreFRAT.Program.Main() in C:\DHI\Products\src\PreFRAT\B_PFRA\Program.cs:line 30&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;910:&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;911:&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;912:&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any help, thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Imad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 08:44:47 GMT</pubDate>
    <dc:creator>ImadAl_Homsi</dc:creator>
    <dc:date>2011-12-12T08:44:47Z</dc:date>
    <item>
      <title>standalone application (You must have a license to use this ActiveX control)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443784#M12062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing a stand alone application, on my developing machine (win 7, VS 2010) works fine, problem comes to run it under testing machine with arcmap license only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the exeption:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;12.12.11 11:36:56 [001] [ERROR] Code:&amp;nbsp; EXCEPTION: System.ComponentModel.LicenseException: You must have a license to use this ActiveX control.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.CreateInstance()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.GetOcxCreate()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.CreateHandle()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.AxHost.EndInit()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at PreFRAT.MainForm.InitializeComponent() in C:\DHI\Products\src\PreFRAT\B_PFRA\MainForm.Designer.cs:line 910&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at PreFRAT.MainForm..ctor() in C:\DHI\Products\src\PreFRAT\B_PFRA\MainForm.cs:line 169&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at PreFRAT.Program.Main() in C:\DHI\Products\src\PreFRAT\B_PFRA\Program.cs:line 30&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;910:&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axMapControl1)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;911:&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axToolbarControl1)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;912:&amp;nbsp; ((System.ComponentModel.ISupportInitialize)(this.axTOCControl1)).EndInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any help, thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Imad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 08:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443784#M12062</guid>
      <dc:creator>ImadAl_Homsi</dc:creator>
      <dc:date>2011-12-12T08:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: standalone application (You must have a license to use this ActiveX control)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443785#M12063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in license properties select the reqquired product license (ArcEditor).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 12:50:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443785#M12063</guid>
      <dc:creator>ImadAl_Homsi</dc:creator>
      <dc:date>2011-12-12T12:50:08Z</dc:date>
    </item>
    <item>
      <title>Dear people from the future: Here is what we've figured out so far......</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443786#M12064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi imadalhomsi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you solve this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a similar situation, also with a stand alone application, but in my case, i am using an ArcGIS Runtime Engine License.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to instantiate the object by code, and verify the license in the same way (code)....Everything works fine in the developer environment, when I install the application in the test environment, it collapse when I run the application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]11325[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I check prerequisites, and there is no difference between the two environments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;checking the net, i found this &lt;/SPAN&gt;&lt;A href="http://support.microsoft.com/kb/326652/en-us"&gt;http://support.microsoft.com/kb/326652/en-us&lt;/A&gt;&lt;SPAN&gt; but i don get the reason of why this is happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any comment or help would be appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 12:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443786#M12064</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2012-01-20T12:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: standalone application (You must have a license to use this ActiveX control)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443787#M12065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did anyone get any further with this one - same issue here&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 13:33:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443787#M12065</guid>
      <dc:creator>RimnetSupport</dc:creator>
      <dc:date>2012-11-29T13:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: standalone application (You must have a license to use this ActiveX control)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443788#M12066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sean, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to set the project to build for x86. it solves my problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 13:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/standalone-application-you-must-have-a-license-to/m-p/443788#M12066</guid>
      <dc:creator>Cristian_Galindo</dc:creator>
      <dc:date>2012-11-29T13:40:39Z</dc:date>
    </item>
  </channel>
</rss>

