<?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 Python Script Set Dataset permission Error in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26435#M936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to run Python scrip(10.1) to set network dataset permission but get error.does anyone know why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the Python code:arcpy.ChangePrivileges_management(targetDBConn +"Transportation",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "GISVEC1_APP_RL", "GRANT", "GRANT")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error message:ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Underlying DBMS error [Microsoft SQL Server Native Client 10.0: Incorrect syntax near '-'.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (ChangePrivileges).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 17:48:51 GMT</pubDate>
    <dc:creator>ZhanGao</dc:creator>
    <dc:date>2013-03-19T17:48:51Z</dc:date>
    <item>
      <title>Python Script Set Dataset permission Error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26435#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to run Python scrip(10.1) to set network dataset permission but get error.does anyone know why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the Python code:arcpy.ChangePrivileges_management(targetDBConn +"Transportation",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "GISVEC1_APP_RL", "GRANT", "GRANT")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error message:ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Underlying DBMS error [Microsoft SQL Server Native Client 10.0: Incorrect syntax near '-'.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (ChangePrivileges).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 17:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26435#M936</guid>
      <dc:creator>ZhanGao</dc:creator>
      <dc:date>2013-03-19T17:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Set Dataset permission Error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26436#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing that you need a forward slash between your database path and the feature-class name?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 17:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26436#M937</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2013-03-23T17:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Set Dataset permission Error</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26437#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm guessing that you need a forward slash between your database path and the feature-class name?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my targeDBConn is "D:\\DBConnections\\DEVGISStaging_gisvec1_owner.sde\\gisvec1.OC." + "Transportation"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 17:35:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-set-dataset-permission-error/m-p/26437#M938</guid>
      <dc:creator>ZhanGao</dc:creator>
      <dc:date>2013-03-25T17:35:13Z</dc:date>
    </item>
  </channel>
</rss>

