<?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: ArcGIS CoreHost application - can't open FGDB - older ArcGIS Pro in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1699147#M13517</link>
    <description>&lt;P&gt;Charles got it, but as a general rule.&amp;nbsp; If you want maximum support compile against the oldest API version that you want to support.&amp;nbsp; While building against 3.2 "may" work with a 3.1 install, it may not.&amp;nbsp; If built against 3.1, it will work with 3.1 and 3.2.&amp;nbsp; .NET8 is supposed to be able to run .NET6 apps, so it should also run against 3.3+.&amp;nbsp; To be sure though I always compile once against 3.1 for 3.1 and 3.2 installs and once against 3.3 for 3.3 -3.6.&amp;nbsp; It is easy to tell what the user has installed at runtime and point them to use the proper executable.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2026 19:14:53 GMT</pubDate>
    <dc:creator>seenohearnospeaknoevil</dc:creator>
    <dc:date>2026-04-29T19:14:53Z</dc:date>
    <item>
      <title>ArcGIS CoreHost application - can't open FGDB - older ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1564004#M12346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On my PC with ArcGIS Pro 3.4 and VS 2022 I made an CoreHost C#&amp;nbsp; x64 application. The assemblies ArcGIS.Core and .CoreHost are &lt;EM&gt;Copy Local = Yes&lt;/EM&gt; and &lt;EM&gt;Specific Version&lt;/EM&gt; = &lt;EM&gt;No&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;My colleague runs ArcGIS Pro 3.1.3 and the app - after installing .Net 8 - can't open a file geodatabase (but I can!). Instead he gets this errormessage:&lt;/P&gt;&lt;P&gt;System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ArcGIS.Core.Internal.Interop.GetInterface(Guid&amp;amp; id, Object&amp;amp; obj)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ArcGIS.Core.Internal.Interop.get_Geodatabase()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ArcGIS.Core.Data.GeodatabaseUtil.OpenDatastore(String path)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ArcGIS.Core.Data.Geodatabase.Open(Uri uri)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ArcGIS.Core.Data.Geodatabase..ctor(FileGeodatabaseConnectionPath connectionPath)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at (my code)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Uri uri = new(fgdbPath);
Geodatabase geodatabase = null;

if (fgdbPath.EndsWith(".gdb"))
{
    FileGeodatabaseConnectionPath connPath = new(uri);
    geodatabase = new(connPath); // --- here the code breaks ---
}
else if (fgdbPath.EndsWith(".geodatabase"))
{
    MobileGeodatabaseConnectionPath connPath = new(uri);
    geodatabase = new(connPath); // here the code breaks I suppose (but not tried)
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;- does it have anything to do with the older ArcGIS Pro version? If so, what should I do, unless upgrading all ArcGIS Pro installations?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 10:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1564004#M12346</guid>
      <dc:creator>PieterLinks</dc:creator>
      <dc:date>2024-12-03T10:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS CoreHost application - can't open FGDB - older ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1564757#M12356</link>
      <description>&lt;P&gt;3.1.3 was .NET 6. he will need to recompile against the .3.1 assemblies.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 16:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1564757#M12356</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2024-12-04T16:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS CoreHost application - can't open FGDB - older ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1566720#M12391</link>
      <description>&lt;P&gt;Thanks for your answer. After a few days off the office, I've found a workaround: running the program on a virtual server with 3.4 which my colleague can access. I do not have administrative rights so for me this is the only way.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 14:32:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1566720#M12391</guid>
      <dc:creator>PieterLinks</dc:creator>
      <dc:date>2024-12-10T14:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS CoreHost application - can't open FGDB - older ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1699147#M13517</link>
      <description>&lt;P&gt;Charles got it, but as a general rule.&amp;nbsp; If you want maximum support compile against the oldest API version that you want to support.&amp;nbsp; While building against 3.2 "may" work with a 3.1 install, it may not.&amp;nbsp; If built against 3.1, it will work with 3.1 and 3.2.&amp;nbsp; .NET8 is supposed to be able to run .NET6 apps, so it should also run against 3.3+.&amp;nbsp; To be sure though I always compile once against 3.1 for 3.1 and 3.2 installs and once against 3.3 for 3.3 -3.6.&amp;nbsp; It is easy to tell what the user has installed at runtime and point them to use the proper executable.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 19:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-corehost-application-can-t-open-fgdb-older/m-p/1699147#M13517</guid>
      <dc:creator>seenohearnospeaknoevil</dc:creator>
      <dc:date>2026-04-29T19:14:53Z</dc:date>
    </item>
  </channel>
</rss>

