<?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: Create Role Error in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782544#M1644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion &lt;A href="https://community.esri.com/migrated-users/2122"&gt;Adrian Welsh&lt;/A&gt;​. The logins. user, and privileges are Okay.&lt;/P&gt;&lt;P&gt;Thank you &lt;A href="https://community.esri.com/migrated-users/31350"&gt;Asrujit SenGupta&lt;/A&gt;​ for the info regarding BUG .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 05:10:32 GMT</pubDate>
    <dc:creator>newbieGIS</dc:creator>
    <dc:date>2016-05-16T05:10:32Z</dc:date>
    <item>
      <title>Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782541#M1641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;I'm trying to Create Role using GP tool and encounter error. &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;[Operation succeeded with warning messages written to error log file] Error creating role. Failed to execute (CreateRole). Connected as sa. SQL Server 2014. ArcGIS Desktop 10.4.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Can anyone figure out what is wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 May 2016 20:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782541#M1641</guid>
      <dc:creator>newbieGIS</dc:creator>
      <dc:date>2016-05-14T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782542#M1642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried following the steps at the following page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/add-users-sqlserver.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/add-users-sqlserver.htm"&gt;Add logins and users to SQL Server—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 02:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782542#M1642</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2016-05-15T02:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782543#M1643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You &lt;STRONG&gt;seem to be&lt;/STRONG&gt; hitting a Bug:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;BUG-000093032 - ‘Create Role’ tool fails with ‘Error Creating Role’ error for SQL Server geodatabases at 10.4&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The workaround is to create the Role from the Database end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on this and to make sure you are hitting that Bug, please contact Esri Tech Support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 13:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782543#M1643</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2016-05-15T13:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782544#M1644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion &lt;A href="https://community.esri.com/migrated-users/2122"&gt;Adrian Welsh&lt;/A&gt;​. The logins. user, and privileges are Okay.&lt;/P&gt;&lt;P&gt;Thank you &lt;A href="https://community.esri.com/migrated-users/31350"&gt;Asrujit SenGupta&lt;/A&gt;​ for the info regarding BUG .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 05:10:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782544#M1644</guid>
      <dc:creator>newbieGIS</dc:creator>
      <dc:date>2016-05-16T05:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782545#M1645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any update regarding this bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 14:20:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782545#M1645</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2017-10-06T14:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782546#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As details of that Bug is not public, you will need to contact Esri tech Support for a status update mentioning the Bug#.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 14:39:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782546#M1646</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-10-06T14:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782547#M1647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it's fixed in ArcGIS 10.5.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/en/bugs/nimbus/TklNMTAyMDQ5" title="http://support.esri.com/en/bugs/nimbus/TklNMTAyMDQ5"&gt;NIM102049: Unable to revoke database roles from SQL Server 2012..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 14:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782547#M1647</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-10-06T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782548#M1648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While waiting for ESRI support to respond, I found a work around.&amp;nbsp; Using the pyodbc python library, I was able to replace the following line in my script&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arcpy.CreateRole_management(my_connection.sde, "EDITOR", "GRANT", "My Domain\Domain Users")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;with&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import odbc&lt;/P&gt;&lt;P&gt;conn = pyodbc.connect(r'DRIVER={ODBC Driver 11 for SQL Server};SERVER=MySqlServerInstance;DATABASE=my_database_name;Trusted_Connection=yes;')&lt;BR /&gt;cursor = conn.cursor()&lt;BR /&gt;cursor.execute("CREATE ROLE EDITOR AUTHORIZATION DBO")&lt;BR /&gt;cursor.execute("CREATE USER [My Domain\Domain Users]")&lt;BR /&gt;cursor.execute("EXEC sp_addrolemember 'EDITOR', 'My Domain\Domain Users'")&lt;BR /&gt;conn.commit()&lt;BR /&gt;conn.close()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I hope it helps someone else who doesn't like to wait &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;-WW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 17:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782548#M1648</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2017-10-06T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Role Error</title>
      <link>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782549#M1649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ESRI support states this bug is fixed at 10.4.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 16:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/create-role-error/m-p/782549#M1649</guid>
      <dc:creator>WWalker</dc:creator>
      <dc:date>2017-10-09T16:13:55Z</dc:date>
    </item>
  </channel>
</rss>

