<?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 Cannot add a View from SQL Server to Arcmap in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-add-a-view-from-sql-server-to-arcmap/m-p/281062#M10783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SQL Server, I created&amp;nbsp;a view in Database A by joining another view in database B on the same server. The process is successful in SQL Server Management Studio and the view looks all good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I added this view to ArcMap(10.6.1), it&amp;nbsp;occurred errors as shown below. The errors are too generic so I didn't&amp;nbsp;know how to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding, ArcGIS allows user to create a view from two databases.&lt;/P&gt;&lt;P&gt;Though I also tired to create&amp;nbsp;a view in ArcCatalog by right clicking the database and selecting New--View, it threw the same error messages to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="498191" alt="" class="image-1 jive-image" height="216" src="/legacyfs/online/498191_Screen Shot 2020-06-29 at 4.41.28 pm.png" width="218" /&gt;&lt;IMG __jive_id="498192" alt="" class="image-2 jive-image" height="212" src="/legacyfs/online/498192_Screen Shot 2020-06-29 at 4.45.01 pm.png" width="420" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The spatial column of the view is from database A, so I enabled Geodatabase for database A, but didn't enable Geodatabase for B, could this be the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2020 06:53:57 GMT</pubDate>
    <dc:creator>ZacWang</dc:creator>
    <dc:date>2020-06-29T06:53:57Z</dc:date>
    <item>
      <title>Cannot add a View from SQL Server to Arcmap</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-add-a-view-from-sql-server-to-arcmap/m-p/281062#M10783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SQL Server, I created&amp;nbsp;a view in Database A by joining another view in database B on the same server. The process is successful in SQL Server Management Studio and the view looks all good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I added this view to ArcMap(10.6.1), it&amp;nbsp;occurred errors as shown below. The errors are too generic so I didn't&amp;nbsp;know how to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my understanding, ArcGIS allows user to create a view from two databases.&lt;/P&gt;&lt;P&gt;Though I also tired to create&amp;nbsp;a view in ArcCatalog by right clicking the database and selecting New--View, it threw the same error messages to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="498191" alt="" class="image-1 jive-image" height="216" src="/legacyfs/online/498191_Screen Shot 2020-06-29 at 4.41.28 pm.png" width="218" /&gt;&lt;IMG __jive_id="498192" alt="" class="image-2 jive-image" height="212" src="/legacyfs/online/498192_Screen Shot 2020-06-29 at 4.45.01 pm.png" width="420" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The spatial column of the view is from database A, so I enabled Geodatabase for database A, but didn't enable Geodatabase for B, could this be the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 06:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-add-a-view-from-sql-server-to-arcmap/m-p/281062#M10783</guid>
      <dc:creator>ZacWang</dc:creator>
      <dc:date>2020-06-29T06:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add a View from SQL Server to Arcmap</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-add-a-view-from-sql-server-to-arcmap/m-p/281063#M10784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me answer the question myself.&lt;/P&gt;&lt;P&gt;The cause of this issue is that the database account I used doesn't have access to one of the databases.&lt;/P&gt;&lt;P&gt;So the solution is also straightforward. Use&amp;nbsp;a suitable account.&lt;/P&gt;&lt;P&gt;Basically, ArcGIS should provide a more useful error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 11:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-add-a-view-from-sql-server-to-arcmap/m-p/281063#M10784</guid>
      <dc:creator>ZacWang</dc:creator>
      <dc:date>2020-07-02T11:26:50Z</dc:date>
    </item>
  </channel>
</rss>

