<?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: Pro SDK (.NET) console app + Utility Network: can’t see/edit branch versions (only DEFAULT returned) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/pro-sdk-net-console-app-utility-network-can-t-see/m-p/1690352#M13885</link>
    <description>&lt;P&gt;Branch versioning only works through a feature service connection.&lt;/P&gt;&lt;P&gt;Instructions for creating a connection to a feature service&amp;nbsp;geodatabase can be found here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#geodatabase" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#geodatabase&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2026 21:16:00 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2026-03-12T21:16:00Z</dc:date>
    <item>
      <title>Pro SDK (.NET) console app + Utility Network: can’t see/edit branch versions (only DEFAULT returned)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pro-sdk-net-console-app-utility-network-can-t-see/m-p/1690119#M13884</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I’ve been asked to build a &lt;STRONG&gt;.NET console application&lt;/STRONG&gt; using the &lt;STRONG&gt;ArcGIS Pro SDK&lt;/STRONG&gt; to &lt;STRONG&gt;edit features in a Utility Network&lt;/STRONG&gt;. Since UN uses &lt;STRONG&gt;branch versioning&lt;/STRONG&gt;, I shouldn’t edit &lt;STRONG&gt;DEFAULT&lt;/STRONG&gt; directly—I need to connect to and edit a &lt;STRONG&gt;named branch version&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Environment&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Pro: &lt;STRONG&gt;3.1.4&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;.NET: &lt;STRONG&gt;6.0&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Database: &lt;STRONG&gt;SQL Server&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Connection: &lt;STRONG&gt;Enterprise Geodatabase direct connect&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;What I tried (Enterprise Geodatabase connection)&lt;/H3&gt;&lt;P&gt;I create a Geodatabase using DatabaseConnectionProperties and specify a version name in the connection properties. I tried different version name formats such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;versionName&lt;/LI&gt;&lt;LI&gt;user@domain.versionName (and similar fully-qualified formats)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But when I do that, the constructor throws:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Exception:&lt;/STRONG&gt; &lt;EM&gt;“The specified version does not exist.”&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The version definitely exists (it’s created&amp;nbsp;in Pro before I run the test).&lt;/P&gt;&lt;H3&gt;What I observed&lt;/H3&gt;&lt;P&gt;If I create the Geodatabase &lt;STRONG&gt;without&lt;/STRONG&gt; specifying a version and then call:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Geodatabase.GetVersions()&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;…it returns only &lt;STRONG&gt;one&lt;/STRONG&gt; version: &lt;STRONG&gt;DEFAULT&lt;/STRONG&gt;. No child versions show up under DEFAULT either.&lt;/P&gt;&lt;P&gt;I also checked whether the geodatabase supports versioning and what versioning type it is. It reports:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Supports versioning:&lt;/STRONG&gt; Yes&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Versioning type:&lt;/STRONG&gt; &lt;STRONG&gt;Traditional&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Attempted alternative (service-based)&lt;/H3&gt;&lt;P&gt;Since branch versions are tied to services, I tried using a service geodatabase approach, but in my console project Visual Studio shows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Compile error:&lt;/STRONG&gt; ‘ServiceGeodatabase’ is inaccessible due to its protection level&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So I can’t even instantiate/use ServiceGeodatabase from my code.&lt;/P&gt;&lt;H3&gt;Questions&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Is this likely a &lt;STRONG&gt;database/enterprise geodatabase configuration&lt;/STRONG&gt; issue (or expected behavior when using direct connect with branch versioning)?&lt;/LI&gt;&lt;LI&gt;Is there a supported alternative to connect/edit a &lt;STRONG&gt;specific branch version&lt;/STRONG&gt; besides direct connect + version in DatabaseConnectionProperties?&lt;/LI&gt;&lt;LI&gt;For testing with &lt;STRONG&gt;ServiceGeodatabase&lt;/STRONG&gt;: is there any way to resolve the compile error, or is this class intentionally not public? If it’s not meant to be used, what is the correct public API to use instead?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 12 Mar 2026 03:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pro-sdk-net-console-app-utility-network-can-t-see/m-p/1690119#M13884</guid>
      <dc:creator>OscarYam</dc:creator>
      <dc:date>2026-03-12T03:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pro SDK (.NET) console app + Utility Network: can’t see/edit branch versions (only DEFAULT returned)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pro-sdk-net-console-app-utility-network-can-t-see/m-p/1690352#M13885</link>
      <description>&lt;P&gt;Branch versioning only works through a feature service connection.&lt;/P&gt;&lt;P&gt;Instructions for creating a connection to a feature service&amp;nbsp;geodatabase can be found here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#geodatabase" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Geodatabase#geodatabase&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 21:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pro-sdk-net-console-app-utility-network-can-t-see/m-p/1690352#M13885</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2026-03-12T21:16:00Z</dc:date>
    </item>
  </channel>
</rss>

