<?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 Error when accesing SQL Server view: &amp;quot;Failed to retrieve a page of rows&amp;quot; in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1255645#M65185</link>
    <description>&lt;P&gt;I've connected to a SQL database and I'm trying to load a (non spatial) table in Arc Pro v3.&lt;/P&gt;&lt;P&gt;The table shows up in my catalogue and I can add it to my layer list under "standalone tables" but when I try to open/view the table, the column headers load but then I get an error before any data is shown:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Failed to load data. Error: failed to retrieve a page of rows"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've tried adding directly from the catalogue and through the Make Query Layer toolbox, with the same result for both.&lt;/P&gt;&lt;P&gt;Based on suggestions in other threads, I've also added a UID column to the table view and removed spaces from column names, but still get the same result.&lt;/P&gt;&lt;P&gt;The table has 72,000 rows and 5 columns. It loads fine in PowerQuery and SQL Server Management Studio, so I know the credentials work. The error message doesn't contain enough information for me to pinpoint why the process fails.&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 11:38:01 GMT</pubDate>
    <dc:creator>A_Schwab</dc:creator>
    <dc:date>2023-02-07T11:38:01Z</dc:date>
    <item>
      <title>Error when accesing SQL Server view: "Failed to retrieve a page of rows"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1255645#M65185</link>
      <description>&lt;P&gt;I've connected to a SQL database and I'm trying to load a (non spatial) table in Arc Pro v3.&lt;/P&gt;&lt;P&gt;The table shows up in my catalogue and I can add it to my layer list under "standalone tables" but when I try to open/view the table, the column headers load but then I get an error before any data is shown:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Failed to load data. Error: failed to retrieve a page of rows"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've tried adding directly from the catalogue and through the Make Query Layer toolbox, with the same result for both.&lt;/P&gt;&lt;P&gt;Based on suggestions in other threads, I've also added a UID column to the table view and removed spaces from column names, but still get the same result.&lt;/P&gt;&lt;P&gt;The table has 72,000 rows and 5 columns. It loads fine in PowerQuery and SQL Server Management Studio, so I know the credentials work. The error message doesn't contain enough information for me to pinpoint why the process fails.&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 11:38:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1255645#M65185</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2023-02-07T11:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error when accesing SQL Server view: "Failed to retrieve a page of rows"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1505944#M85603</link>
      <description>&lt;P&gt;any replies for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/tables/table-view-errors.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/tables/table-view-errors.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Br1an_Peters_0-1721161995375.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109900i34E6D21C89580C6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Br1an_Peters_0-1721161995375.png" alt="Br1an_Peters_0-1721161995375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 20:33:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1505944#M85603</guid>
      <dc:creator>Br1an_Peters</dc:creator>
      <dc:date>2024-07-16T20:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when accesing SQL Server view: "Failed to retrieve a page of rows"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1515864#M86533</link>
      <description>&lt;P&gt;I suspect you're up the same creek as this person (and now me too) -- the column(s) you've selected for your OID are non-unique.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/error-opening-table-in-pro-quot-failed-to-retrieve/m-p/385143" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/error-opening-table-in-pro-quot-failed-to-retrieve/m-p/385143&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To confirm, I queried my view with these two queries in SSMS . . .&lt;/P&gt;&lt;PRE&gt;SELECT count(*) FROM [myBigUglyView]&lt;BR /&gt;&lt;BR /&gt;SELECT count(distinct(concat([myFirstIdentifier], [mySecondIdentifier]))) FROM [myBigUglyView]&lt;/PRE&gt;&lt;P&gt;If those two queries produce different numbers, you're up my creek.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 22:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1515864#M86533</guid>
      <dc:creator>DanNarsavage_IDWR</dc:creator>
      <dc:date>2024-08-06T22:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error when accesing SQL Server view: "Failed to retrieve a page of rows"</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1515957#M86545</link>
      <description>&lt;P&gt;In my case the OID column was unique. I spoke to ESRI support but they wouldn't help as our version of SQL Server was outside the supported versions.&lt;/P&gt;&lt;P&gt;In the end I used a python script to connect to the database using pyodbc, which worked perfectly.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 07:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-when-accesing-sql-server-view-quot-failed-to/m-p/1515957#M86545</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2024-08-07T07:43:23Z</dc:date>
    </item>
  </channel>
</rss>

