<?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: Attempted to read or write protected memory while Appending to File Geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698761#M39677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a feature cursor, or selection set you might have the feature class hung up.&amp;nbsp; Try the&amp;nbsp; Marshal.ReleaseComObject(pCursor); to free up your feature class.&amp;nbsp; This sometimes works for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2011 16:09:59 GMT</pubDate>
    <dc:creator>ChrisBradberry</dc:creator>
    <dc:date>2011-04-19T16:09:59Z</dc:date>
    <item>
      <title>Attempted to read or write protected memory while Appending to File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698760#M39676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcObjects to delete features and append features to a File Geodatabase.&amp;nbsp;&amp;nbsp; The last time this process ran,&amp;nbsp; I got the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Attempted to read or write protected memory.&amp;nbsp; This is often an indication that other memory is corrupt"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Feature Class was corrupt after the processs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I reran the process in ArcCatalog using ArcToolBox and on the the second attempt,&amp;nbsp;&amp;nbsp; I was able to successfully delete and append features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on what causes this error and more importantly,&amp;nbsp; how to prevent it in the future?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 15:10:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698760#M39676</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2011-04-07T15:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Attempted to read or write protected memory while Appending to File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698761#M39677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a feature cursor, or selection set you might have the feature class hung up.&amp;nbsp; Try the&amp;nbsp; Marshal.ReleaseComObject(pCursor); to free up your feature class.&amp;nbsp; This sometimes works for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 16:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698761#M39677</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2011-04-19T16:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Attempted to read or write protected memory while Appending to File Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698762#M39678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After reading some more forums, I think you should use the ComReleaser rather than the marshall.ReleaseCom();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this forum &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/4298-What-s-Up-with-ComReleaser-Is-it-really-working?highlight=protected+memory"&gt;http://forums.arcgis.com/threads/4298-What-s-Up-with-ComReleaser-Is-it-really-working&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 16:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/attempted-to-read-or-write-protected-memory-while/m-p/698762#M39678</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2011-04-19T16:25:44Z</dc:date>
    </item>
  </channel>
</rss>

