<?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 ActiveX Control Error in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/activex-control-error/m-p/306245#M7963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error I'm referring to: â??â?¦ threw an exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException'â??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the ArcDesktop version 10.0 and the .Net SDK version 10.0 installed on my machine. I'm trying to use ArcEngine controls embedded in WPF to display the Map Control. I found out that if the controls are embedded in a page that is called via the NavigationService in the WPF application, the error gets shown immediately and the application doesn't even compile. I then went through the examples I found online and pulled the page out of the application and made it a window. That seemed to work. I then got a blank window. I traced through the code and found out that when the application got to the controls in the code behind that it skipped right over them. I then actually stepped into the LoadMxFile Control and found out that the error is coming up everywhere along with licensing errors even though I bind to EngineOrDesktop in the App.xaml file. I have used Google and searched quite a bit, but I have found no answers to my problem. I've tried using .Net Framework 3.5, 4.0, 4.5 and still get the same error. I'm attaching the test project that I have been working with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone out there that can help, or has at least seen this issue before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Howard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2013 12:03:11 GMT</pubDate>
    <dc:creator>HowardNaulty</dc:creator>
    <dc:date>2013-03-01T12:03:11Z</dc:date>
    <item>
      <title>ActiveX Control Error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/activex-control-error/m-p/306245#M7963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error I'm referring to: â??â?¦ threw an exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException'â??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the ArcDesktop version 10.0 and the .Net SDK version 10.0 installed on my machine. I'm trying to use ArcEngine controls embedded in WPF to display the Map Control. I found out that if the controls are embedded in a page that is called via the NavigationService in the WPF application, the error gets shown immediately and the application doesn't even compile. I then went through the examples I found online and pulled the page out of the application and made it a window. That seemed to work. I then got a blank window. I traced through the code and found out that when the application got to the controls in the code behind that it skipped right over them. I then actually stepped into the LoadMxFile Control and found out that the error is coming up everywhere along with licensing errors even though I bind to EngineOrDesktop in the App.xaml file. I have used Google and searched quite a bit, but I have found no answers to my problem. I've tried using .Net Framework 3.5, 4.0, 4.5 and still get the same error. I'm attaching the test project that I have been working with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyone out there that can help, or has at least seen this issue before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Howard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 12:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/activex-control-error/m-p/306245#M7963</guid>
      <dc:creator>HowardNaulty</dc:creator>
      <dc:date>2013-03-01T12:03:11Z</dc:date>
    </item>
  </channel>
</rss>

