<?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: How to close editing session with shape file in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-close-editing-session-with-shape-file/m-p/653400#M17535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sr locks are schema locks.&amp;nbsp; So just opening the shapefile will create a schema lock no edits necessary.&amp;nbsp; You need to explicitly release any references to the featureclass and workspace using the comreleaser.&amp;nbsp; It is a bit of a needle in a hay stack to find them all though.&amp;nbsp; It is the only way I know how to do it.&amp;nbsp; I remember once having to wade through thousands of lines of code to do it, the only way was to set break points, monitor the locks and comment out section by section of code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2012 11:55:54 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2012-05-23T11:55:54Z</dc:date>
    <item>
      <title>How to close editing session with shape file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-close-editing-session-with-shape-file/m-p/653399#M17534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I create shape file and after that this file is locked. In directory appears file &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;�?с.shp.user_name.4500.5572.sr.lock&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;How I can unlock this file in the same program just after creating shape file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need other copy of program can recreate this file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any idea or reference!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 09:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-close-editing-session-with-shape-file/m-p/653399#M17534</guid>
      <dc:creator>AnatoliiTerentiev</dc:creator>
      <dc:date>2012-05-23T09:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to close editing session with shape file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-close-editing-session-with-shape-file/m-p/653400#M17535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sr locks are schema locks.&amp;nbsp; So just opening the shapefile will create a schema lock no edits necessary.&amp;nbsp; You need to explicitly release any references to the featureclass and workspace using the comreleaser.&amp;nbsp; It is a bit of a needle in a hay stack to find them all though.&amp;nbsp; It is the only way I know how to do it.&amp;nbsp; I remember once having to wade through thousands of lines of code to do it, the only way was to set break points, monitor the locks and comment out section by section of code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 11:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-close-editing-session-with-shape-file/m-p/653400#M17535</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-05-23T11:55:54Z</dc:date>
    </item>
  </channel>
</rss>

