<?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 get exclusive schema lock despite setting workspace in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/cannot-get-exclusive-schema-lock-despite-setting/m-p/413222#M13962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While scripting a few geoprocessing tools in python, I use the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;make feature layer&lt;/SPAN&gt;&lt;SPAN&gt; tool to create virtual layers for further processing, such as &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;add field&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp; The script runs fine on data layers in a geodatabase, but when it hits layers in a sde, where I do not have write rights, the script bombs with an ERROR 000464: Cannot get exclusive schema lock.&amp;nbsp; Either being edited or in use by another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set geoprocessing environments workspace and scratch workspace to the geodatabase where I have rights.&amp;nbsp; This has not worked, so I am at a lost.&amp;nbsp; I do not wish to copy the layer out of sde every time the script runs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 11:53:52 GMT</pubDate>
    <dc:creator>EdApalinski</dc:creator>
    <dc:date>2011-06-30T11:53:52Z</dc:date>
    <item>
      <title>Cannot get exclusive schema lock despite setting workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/cannot-get-exclusive-schema-lock-despite-setting/m-p/413222#M13962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While scripting a few geoprocessing tools in python, I use the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;make feature layer&lt;/SPAN&gt;&lt;SPAN&gt; tool to create virtual layers for further processing, such as &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;add field&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp; The script runs fine on data layers in a geodatabase, but when it hits layers in a sde, where I do not have write rights, the script bombs with an ERROR 000464: Cannot get exclusive schema lock.&amp;nbsp; Either being edited or in use by another application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set geoprocessing environments workspace and scratch workspace to the geodatabase where I have rights.&amp;nbsp; This has not worked, so I am at a lost.&amp;nbsp; I do not wish to copy the layer out of sde every time the script runs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 11:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/cannot-get-exclusive-schema-lock-despite-setting/m-p/413222#M13962</guid>
      <dc:creator>EdApalinski</dc:creator>
      <dc:date>2011-06-30T11:53:52Z</dc:date>
    </item>
  </channel>
</rss>

