<?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: Can't connect to SDE database with db_datareader permissions. in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763913#M567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/37621"&gt;Sean Tondre&lt;/A&gt; any resolution to this? I'm experiencing the same issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2019 22:08:54 GMT</pubDate>
    <dc:creator>JeffWard</dc:creator>
    <dc:date>2019-06-12T22:08:54Z</dc:date>
    <item>
      <title>Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763907#M561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're&amp;nbsp;currently running ArcGIS 10.4.1 and SQL Server 2012. &amp;nbsp;I needed to do some testing so I created a new user in SQL Server Management Studio with a database login and assigned db_datareader access. &amp;nbsp;We have 4 databases running in this instance, and I successfully connected to 3 of the databases. &amp;nbsp;However, I received the following error on the 4th "Failed to connect to the specified server. &amp;nbsp;Do you want to continue? &amp;nbsp;Operation Failed".&amp;nbsp;The only thing that was noticeably different was that in the failed database db_datareader did not have an owned schema (whereas the other 3 both had "db_datareader" checked). &amp;nbsp;I checked it and I received the same error message. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I can provide any additional info. &amp;nbsp;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 02:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763907#M561</guid>
      <dc:creator>SeanTondre</dc:creator>
      <dc:date>2017-01-25T02:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763908#M562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually the CONNECT permission is all you need to connect to a Database. Too see data you need 'db_Datareader'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, check whether the User-Mapping for that user was correctly done for that database. If it is a newly created Database login, maybe delete it and recreate the login and then check again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/privileges-sqlserver.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/privileges-sqlserver.htm"&gt;Privileges for geodatabases in SQL Server—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 04:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763908#M562</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-01-25T04:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763909#M563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. &amp;nbsp;I was able to connect to the database by applying only CONNECT permissions. &amp;nbsp;There are still some things that don't look right to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 3 other databases, with CONNECT only permissions, showed relationship classes. &amp;nbsp;However, the database in question was empty (even though there are multiple relationship classes just like the other databases). &amp;nbsp;So I guess it isn't connecting to the database that is the problem rather viewing permissions once connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With CONNECT only permissions I next added Feature Dataset permissions through ArcCatalog. &amp;nbsp;Three of the databases seemed to work correctly giving me access to the particular feature dataset (see screenshot):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/308798_Correct Feature Dataset Grouping.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database in question allowed me access but something is wrong:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/308799_No Feature Dataset Grouping2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should all be contained within a feature dataset (and why is it showing the historical tables and version views?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following your instructions I created a brand new login and got the same results as before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 16:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763909#M563</guid>
      <dc:creator>SeanTondre</dc:creator>
      <dc:date>2017-01-25T16:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763910#M564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that a simple Database or an Enterprise geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a geodatabase, do you observe the same behaviour when connected as the SYSADMIN login? Rather have you tested with multiple logins and faced the same behaviour?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 18:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763910#M564</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-01-25T18:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763911#M565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is an enterprise geodatabase. &amp;nbsp;When I grant the login sysadmin server role then I am able to view all data in the gdb (but also have insert, update, and delete permissions). &amp;nbsp;The same is true if I assign the user db_owner permissions. &amp;nbsp;But when I assign SELECT only permissions I can't connect. &amp;nbsp;It only happens with this one database so I'm guessing there is something wrong with the actual database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 18:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763911#M565</guid>
      <dc:creator>SeanTondre</dc:creator>
      <dc:date>2017-01-25T18:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763912#M566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to be an issue with the default permissions granted to the PUBLIC role. I have a list of the default permissions granted to the PUBLIC role for an sde 10.3 gdb, but somehow I can't attach a text file here it seems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest contacting Esri Tech Support so that they can take a closer look at this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 18:37:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763912#M566</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-01-25T18:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763913#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/37621"&gt;Sean Tondre&lt;/A&gt; any resolution to this? I'm experiencing the same issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 22:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763913#M567</guid>
      <dc:creator>JeffWard</dc:creator>
      <dc:date>2019-06-12T22:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to SDE database with db_datareader permissions.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763914#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't think there was.&amp;nbsp; My next step was going to be moving the data to a fresh database but we didn't have an immediate need for reader access so I left it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jun 2019 03:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/can-t-connect-to-sde-database-with-db-datareader/m-p/763914#M568</guid>
      <dc:creator>SeanTondre</dc:creator>
      <dc:date>2019-06-29T03:57:12Z</dc:date>
    </item>
  </channel>
</rss>

