<?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: Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1409561#M8991</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43382"&gt;@mfcallahan&lt;/a&gt;, did you manage to find a fix or workaround for this? I am currently experiencing the same problem.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 01:44:26 GMT</pubDate>
    <dc:creator>ANH</dc:creator>
    <dc:date>2024-04-15T01:44:26Z</dc:date>
    <item>
      <title>Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1260225#M8279</link>
      <description>&lt;P&gt;I have a PostgreSQL database instance running in the &lt;A href="https://azure.microsoft.com/en-us/products/postgresql/" target="_blank" rel="noopener nofollow ugc"&gt;Azure Database for PostgreSQL&lt;/A&gt; service. I am able to successfully connect, create enterprise geodatabases within, and load feature classes. I am also able to register the database as a data store, both via ArcGIS Pro and ArcGIS Server Manager. However, when attempting to share a table in the database as a web layer (right click &amp;gt; Sharing &amp;gt; Share as web layer), it will ultimately fail with error &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00231-layers-data-source-must-be-registered-with-the-server.htm" target="_blank" rel="noopener nofollow ugc"&gt;00231&lt;/A&gt;, "Layer's data source must be registered with the server." seemingly not recognizing the registered data store I had just added. I verified there were no typos or other configuration errors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="aom96Kc" style="width: 462px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63340i8EFB7F6EF3ED2DC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="aom96Kc" alt="aom96Kc" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Tech support provided the following guidance, which did not resolve the issue.&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;P class=""&gt;Remove previously registered data store&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Open "Share as Web Layer" tool&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Run "Analyze" and right click error 00231 &amp;gt; Register Data Source with Server&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;I observed something interesting at this point; the connection string automatically generated in the dialog box truncates the "@hostname" part of the username, and the validation will fail:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="HfVeYVx" style="width: 996px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63341i2A9D666EC7474ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="HfVeYVx" alt="HfVeYVx" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I am able to click "Import" in this dialog box and manually specify the .sde connection file, the generated connection string does not malform the username, and the data store can be registered. However, I am right back to the same issue and receive error 00231 once again when attempting to run "Share as Web Layer."&lt;/P&gt;&lt;P class=""&gt;I'm hoping someone out there has observed this and found a workaround! &lt;span class="lia-unicode-emoji" title=":crossed_fingers:"&gt;🤞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 20:26:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1260225#M8279</guid>
      <dc:creator>mfcallahan</dc:creator>
      <dc:date>2023-02-21T20:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1261505#M8286</link>
      <description>&lt;P&gt;You haven't stated which Deployment Model you are using with your Azure Database for PostgreSQL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/postgresql/single-server/overview#deployment-models" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/postgresql/single-server/overview#deployment-models&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PostgreSQL databases in Azure can be “Azure Database for PostgreSQL single server” or “Azure Database for PostgreSQL flexible server”. For Single server I would try using “username@database” style login, for flexible server I would try using just “username” style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 17:51:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1261505#M8286</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2023-02-24T17:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1261793#M8288</link>
      <description>&lt;P&gt;I am using the Single Server Azure Database for PostgreSQL deployment. I am also using the "username@hostname" credential - omitting the @hostname will not allow login on any client, Pro included. The issue here is that the connection string generated by ArcGIS Pro appears to be truncating the "@username"&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 18:22:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1261793#M8288</guid>
      <dc:creator>mfcallahan</dc:creator>
      <dc:date>2023-02-25T18:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1266057#M8320</link>
      <description>&lt;P&gt;Are you using an up-to-date version of ArcGIS Pro, eg 2.9.7, or 3.0.4, or 3.1.0 ?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1266057#M8320</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2023-03-09T16:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1266067#M8321</link>
      <description>&lt;P&gt;This issue is occurring in ArcGIS Pro 3.0.3, 3.0.4, and 3.1.0; ArcGIS Server version is 10.8.1. Esri has confirmed this is a bug (&lt;SPAN&gt;BUG-000156390). Pretty frustrating as it is claimed here that Microsoft Azure Database for PostgreSQL (Single Server option) is supported by Esri, but it doesn't appear to be fully so.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://desktop.arcgis.com/en/system-requirements/latest/databases-in-the-cloud.htm" target="_blank"&gt;https://desktop.arcgis.com/en/system-requirements/latest/databases-in-the-cloud.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 17:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1266067#M8321</guid>
      <dc:creator>mfcallahan</dc:creator>
      <dc:date>2023-03-09T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing a web layer fails with error 00231, despite the database already being registered as an ArcGIS Server data store</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1409561#M8991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43382"&gt;@mfcallahan&lt;/a&gt;, did you manage to find a fix or workaround for this? I am currently experiencing the same problem.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 01:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sharing-a-web-layer-fails-with-error-00231-despite/m-p/1409561#M8991</guid>
      <dc:creator>ANH</dc:creator>
      <dc:date>2024-04-15T01:44:26Z</dc:date>
    </item>
  </channel>
</rss>

