<?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 Re: Adding AxLicenseControl causes error vb.net studio 2010 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380777#M10074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ralfg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the information ... following the MS KB allowed me to be able to compile with out errors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jul 2010 15:49:43 GMT</pubDate>
    <dc:creator>NathanKirby</dc:creator>
    <dc:date>2010-07-02T15:49:43Z</dc:date>
    <item>
      <title>Adding AxLicenseControl causes error vb.net studio 2010</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380775#M10072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After installing and licensing EDN Engine 10. I'm getting &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Error 1 Could not load file or assembly 'file:///C:/Program Files (x86)/ArcGIS/DeveloperKit10.0/DotNet/ESRI.ArcGIS.3DAnalyst.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 127, position 5. C:\Users\njkirby\Documents\Visual Studio 2010\Projects\RigUpdater\RigUpdater\Form1.resx 127 5 RigUpdater&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;error when trying to compile with just a form and the AxLicense control on the form. removing the control and the app compiles and runs fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've verified that the 3DAnalyst is actually in the location its looking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone have some pointers? removed and reinstalled and still no luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 13:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380775#M10072</guid>
      <dc:creator>NathanKirby</dc:creator>
      <dc:date>2010-07-02T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding AxLicenseControl causes error vb.net studio 2010</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380776#M10073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi njkirby,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue is a known issue with Visual Studio 2010 and Microsoft has the following KB document about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.microsoft.com/kb/2028833"&gt;http://support.microsoft.com/kb/2028833&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is happening is when you target the .NET 3.5 framework on a 64 bit os using Visual Studio 2010 and reference a 32 bit assembly in your resource file (.resx), such as the Esri Controls, and you hit compile, Visual Studio launches an executable called �??ResGen.exe�?�.&amp;nbsp; This executable is compiled as �??Any CPU�?�.&amp;nbsp; So, on a 64 bit machine it runs as a 64 bit process and is looking for the 64 bit version of the assembly which it can�??t find it because it doesn�??t exist. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Microsoft workaround changes the header file on the ResGen.exe to force it to run as 32 bit.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will have a KB doc that should be available really soon with a workaround for this problem that you can add to your Visual Studio project that will change the header file at compile time and then change it back when it is done.&amp;nbsp; I�??ll post the link as soon as it is up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 15:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380776#M10073</guid>
      <dc:creator>RalfGottschalk</dc:creator>
      <dc:date>2010-07-02T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding AxLicenseControl causes error vb.net studio 2010</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380777#M10074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ralfg&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the information ... following the MS KB allowed me to be able to compile with out errors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 15:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380777#M10074</guid>
      <dc:creator>NathanKirby</dc:creator>
      <dc:date>2010-07-02T15:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding AxLicenseControl causes error vb.net studio 2010</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380778#M10075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The KB document has been published and can be found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=37879"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=37879&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 22:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/adding-axlicensecontrol-causes-error-vb-net-studio/m-p/380778#M10075</guid>
      <dc:creator>RalfGottschalk</dc:creator>
      <dc:date>2010-07-06T22:35:23Z</dc:date>
    </item>
  </channel>
</rss>

