<?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 IMemoryBlobStream::LoadFromFile unknown Failure in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/imemoryblobstream-loadfromfile-unknown-failure/m-p/279694#M7223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to load into blob saved MxDocument file with simple code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IMemoryBlobStream memoryBlobStream = new MemoryBlobStreamClass();
if (System.IO.File.Exists(fileName))
{
 memoryBlobStream.LoadFromFile(fileName); //Causes exception sometimes.
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assembly : ESRI.ArcGIS.System&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Class&amp;nbsp;&amp;nbsp;&amp;nbsp; : MemoryBlobStreamClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Method&amp;nbsp;&amp;nbsp; : LoadFromFile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System: ArcGis 9.2 with SP5 (Build 1450)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions how it can be fixed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Apr 2010 05:28:09 GMT</pubDate>
    <dc:creator>conquerorconqueror</dc:creator>
    <dc:date>2010-04-08T05:28:09Z</dc:date>
    <item>
      <title>IMemoryBlobStream::LoadFromFile unknown Failure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/imemoryblobstream-loadfromfile-unknown-failure/m-p/279694#M7223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to load into blob saved MxDocument file with simple code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IMemoryBlobStream memoryBlobStream = new MemoryBlobStreamClass();
if (System.IO.File.Exists(fileName))
{
 memoryBlobStream.LoadFromFile(fileName); //Causes exception sometimes.
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assembly : ESRI.ArcGIS.System&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Class&amp;nbsp;&amp;nbsp;&amp;nbsp; : MemoryBlobStreamClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Method&amp;nbsp;&amp;nbsp; : LoadFromFile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System: ArcGis 9.2 with SP5 (Build 1450)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions how it can be fixed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 05:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/imemoryblobstream-loadfromfile-unknown-failure/m-p/279694#M7223</guid>
      <dc:creator>conquerorconqueror</dc:creator>
      <dc:date>2010-04-08T05:28:09Z</dc:date>
    </item>
  </channel>
</rss>

