<?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: RasterIO.dll stack dump when deleting a raster file on disk with .Delete() - C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45919#M1191</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;This sounds like it &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;might&lt;/SPAN&gt;&lt;SPAN&gt; be related to a confirmed newly created bug within ArcGIS 10 - Bug Report Number NIM071209, although my issue happens specifically when a raster is deleted, not simply loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should have reported the 'resolution' to the forum - my apologies.&amp;nbsp; I guess I thought this official report would show up in other searches.&amp;nbsp; I'm quoting below the full 'shake-out' of the issue I received from esri support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically (when deleting), if your raster pathname is too long, you get a stack dump.&amp;nbsp; If it's a little shorter, you get a thrown exception.&amp;nbsp; If it's short enough, all is well.&amp;nbsp; Lengths are in the quoted response below in the Steps to Reproduce section.&amp;nbsp; Note that Tiffs don't show this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggested that an 'OS delete' of the raster might be possible as a workaround, but the intertwined nature of the various supporting files means that there is a great danger of corruption, unless you only have one raster in your workspace, when you could just delete the directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&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;Frank&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Frank,&lt;BR /&gt;&lt;BR /&gt;I have submitted the below bug report since the issue did not exist in ArcGIS 9.3/9.3.1 thus I have determined the pathname length issue is not by design but rather a bug.&amp;nbsp; Please consider using less lengthy paths.&amp;nbsp; As this issue still needs to be evaluated by our development team, I cannot provide a known length that you can count on.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;In the meantime, please consider staying within the 106 folderName length you have observed, but also within a total of approximately 114 characters, which includes the dataset name itself (106 folderName + \ + 8 datasetName = 115).&amp;nbsp; The known limit for a GRIDs dataset name is 13 characters, thus, if you go up to 13 characters for the dataset name, account for this in the folderName such that the total folderName and datasetName is approximately 115:&lt;BR /&gt;LINK:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009t0000000w000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009t0000000w000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Frank, I will now close this support incident.&amp;nbsp; Please use the bug report number to track the progress of the bug from this point forward, as well as to escalate the bug report if you would like to do so.&amp;nbsp; The best place to get this information is from the "My Support Portal", available through a link on the Support Services website at:&lt;BR /&gt;&lt;A href="http://support.esri.com"&gt;http://support.esri.com&lt;/A&gt;&lt;BR /&gt;or you can go directly to the "Esri Customer Care Portal" here:&lt;BR /&gt;&lt;A href="http://Customers.esri.com"&gt;http://Customers.esri.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bug Report Information&lt;BR /&gt;----------------------&lt;BR /&gt;Bug Report Number:&amp;nbsp; NIM071209&lt;BR /&gt;&lt;BR /&gt;Synopsis:&lt;BR /&gt;In ArcGIS 10, deleting an Esri GRID in ArcCatalog or with IDataset.Delete() will either produce an error or will crash the application when directory path is beyond a certain length.&lt;BR /&gt;&lt;BR /&gt;Long description:&lt;BR /&gt;In an ArcGIS Engine 10 console application, deleting an Esri GRID raster file with IDataset.Delete() will either result in a thrown exception at IDataset.Delete() or the console application will crash after IDataset.Delete() is called.&amp;nbsp; It has been observed that this occurs beyond a given length of the directory path or file name path where the GRID is stored on disk.&amp;nbsp; The same is produced in ArcCatalog or with ArcMap's Catalog window, where either an error or application crash occurs when attempting to manually delete within Catalog.&lt;BR /&gt;&lt;BR /&gt;Note 1:&lt;BR /&gt;Testing in ArcGIS 9.3.1 SP2 with the same GRID raster and same length in directory/file path does not produce the issue, only in version 10 of ArcGIS.&amp;nbsp; Although a crash in ArcGIS 10 may also be seen when attempting to add or paste a GRID to the same folder location where the Delete causes a crash or exception, customers may be working with GRIDs that were already located in that location prior to version 10 so now they have to modify the location of these files and their source code.&lt;BR /&gt;&lt;BR /&gt;Note 2:&lt;BR /&gt;Testing in ArcGIS 10 with a .tif (TIFF) instead of a GRID does not produce the issues.&lt;BR /&gt;&lt;BR /&gt;STEPS TO REPRODUCE:&lt;BR /&gt;1.&amp;nbsp; Open EngineConsole950753.sln (ArcGIS Engine 10 console application)&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp; Prepare to copy the attached GRID file, compati1, to the three different directory locations that will be tested in the subsequent steps.&amp;nbsp; Please create those directories in Windows Explorer as needed.&lt;BR /&gt;&lt;BR /&gt;3.&amp;nbsp; Test/Start debugging the first directory path location with folderName length of 137:&lt;BR /&gt;"C:\Projects\usfws\EasternShore\Vista_EasternShore\GIS_Datasets\Scenarios\Current_Landuse_Baseline\Evaluations\Baseline_Ecological_Systems"&lt;BR /&gt;&lt;BR /&gt;= console application will crash after calling IDataset.Delete() method.&amp;nbsp; Attempting to manually delete the same in ArcCatalog or ArcMap's Catalog window will cause ArcCatalog or ArcMap to crash, as well.&lt;BR /&gt;&lt;BR /&gt;4.&amp;nbsp;&amp;nbsp; Test/Start debugging the first directory path location with folderName length of 109:&lt;BR /&gt;"C:\Projects\usfws\EasternShore\Vista_EasternShore\GIS_Datasets\Scenarios\Current_Landuse_Baseline\Evaluations"&lt;BR /&gt;&lt;BR /&gt;= IDataset.Delete() will throw the following Exception:&amp;nbsp; &lt;BR /&gt;"Exception from HRESULT: 0x8004101B"&lt;BR /&gt;Attempting to manually delete the same in ArcCatalog or ArcMap's Catalog window will cause ArcCatalog or ArcMap to display an error message box with the following message:&lt;BR /&gt;"Failed to delete selected object(s)"&lt;BR /&gt;&lt;BR /&gt;5.&amp;nbsp; Test/Start debugging the first directory path location with folderName length of 97:&lt;BR /&gt;"C:\Projects\usfws\EasternShore\Vista_EasternShore\GIS_Datasets\Scenarios\Current_Landuse_Baseline"&lt;BR /&gt;&lt;BR /&gt;= IDataset.Delete() method successfully deletes the GRID file. Also, deleting the same GRID file in ArcCatalog or ArcMap's Catalog view does not produce any issues.&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Edgar B.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2011 13:23:44 GMT</pubDate>
    <dc:creator>FrankMcLean</dc:creator>
    <dc:date>2011-10-11T13:23:44Z</dc:date>
    <item>
      <title>RasterIO.dll stack dump when deleting a raster file on disk with .Delete() - C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45917#M1189</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;SPAN&gt;I have migrated our Desktop extension from 9.3 to 10 - C# using VS2008, deployed on Windows XP Pro, SP3.&amp;nbsp; I am getting the following crash, when the software tries to delete a raster file on disk using .Delete():&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem signature:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Problem Event Name: BEX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Name: ArcMap.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Version: 10.0.2.3200&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Timestamp: 4d9bad9f&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Name: RasterIO.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Version: 10.0.2.3200&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Timestamp: 4d9b750a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Offset: 00035690&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Code: c0000409&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Data: 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; OS Version: 6.0.6002.2.2.0.272.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Locale ID: 1033&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 1: f3fb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 2: 76cb28eb10e2a4f22903a981f9d7609e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 3: 39e6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 4: e6c1cee561b673e1a7d4d2f425db536e&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching the forums, it looks like a similar problem has been reported when there are spaces in the raster path - in this case there are definitely not.&amp;nbsp; The odd thing is that the crash happens after a call to .CanDelete() is &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;successful&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IRasterDataset rasterDS = this.openRasterDataset(); 
IDataset dataset = rasterDS as IDataset; 
if (dataset != null)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!dataset.CanDelete())
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;//can't be deleted
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset.Delete();&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The crash happens during the .Delete() call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please help?&amp;nbsp; I can't trace this any further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 13:51:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45917#M1189</guid>
      <dc:creator>FrankMcLean</dc:creator>
      <dc:date>2011-07-26T13:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: RasterIO.dll stack dump when deleting a raster file on disk with .Delete() - C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45918#M1190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have encountered the same error in the same module when trying to load an MXD created by 9.3.1.&amp;nbsp; The error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem signature:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Problem Event Name: BEX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Name: ArcMap.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Version: 10.0.2.3200&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Timestamp: 4d9bad9f&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Name: RasterIO.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Version: 10.0.2.3200&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Timestamp: 4d9b750a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Offset: 00029966&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Code: c0000409&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Data: 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; OS Version: 6.1.7601.2.1.0.256.48&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Locale ID: 2057&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 1: 74e1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 2: 74e15f4f78a355b516e5b2310fdbf823&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 3: 35e3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Additional Information 4: 35e3ee204c726c40df39cbfda05d377e&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error causes ArcMap, ArcCatalog and, unbelievably, even the MXD program to crash.&amp;nbsp; I've attached the MXD with the problem.&amp;nbsp; I know that other people have had similar errors caused by spaces in raster names but I don't think I have this problem (although I can't check because I no longer have access to 9.3.1 so I have no way of opening the file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help?&amp;nbsp; Are there any plans to fix the problems in this module?&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;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 19:32:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45918#M1190</guid>
      <dc:creator>PaulDodds</dc:creator>
      <dc:date>2011-10-10T19:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: RasterIO.dll stack dump when deleting a raster file on disk with .Delete() - C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45919#M1191</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;This sounds like it &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;might&lt;/SPAN&gt;&lt;SPAN&gt; be related to a confirmed newly created bug within ArcGIS 10 - Bug Report Number NIM071209, although my issue happens specifically when a raster is deleted, not simply loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should have reported the 'resolution' to the forum - my apologies.&amp;nbsp; I guess I thought this official report would show up in other searches.&amp;nbsp; I'm quoting below the full 'shake-out' of the issue I received from esri support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically (when deleting), if your raster pathname is too long, you get a stack dump.&amp;nbsp; If it's a little shorter, you get a thrown exception.&amp;nbsp; If it's short enough, all is well.&amp;nbsp; Lengths are in the quoted response below in the Steps to Reproduce section.&amp;nbsp; Note that Tiffs don't show this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggested that an 'OS delete' of the raster might be possible as a workaround, but the intertwined nature of the various supporting files means that there is a great danger of corruption, unless you only have one raster in your workspace, when you could just delete the directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&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;Frank&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Frank,&lt;BR /&gt;&lt;BR /&gt;I have submitted the below bug report since the issue did not exist in ArcGIS 9.3/9.3.1 thus I have determined the pathname length issue is not by design but rather a bug.&amp;nbsp; Please consider using less lengthy paths.&amp;nbsp; As this issue still needs to be evaluated by our development team, I cannot provide a known length that you can count on.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;In the meantime, please consider staying within the 106 folderName length you have observed, but also within a total of approximately 114 characters, which includes the dataset name itself (106 folderName + \ + 8 datasetName = 115).&amp;nbsp; The known limit for a GRIDs dataset name is 13 characters, thus, if you go up to 13 characters for the dataset name, account for this in the folderName such that the total folderName and datasetName is approximately 115:&lt;BR /&gt;LINK:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009t0000000w000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009t0000000w000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Frank, I will now close this support incident.&amp;nbsp; Please use the bug report number to track the progress of the bug from this point forward, as well as to escalate the bug report if you would like to do so.&amp;nbsp; The best place to get this information is from the "My Support Portal", available through a link on the Support Services website at:&lt;BR /&gt;&lt;A href="http://support.esri.com"&gt;http://support.esri.com&lt;/A&gt;&lt;BR /&gt;or you can go directly to the "Esri Customer Care Portal" here:&lt;BR /&gt;&lt;A href="http://Customers.esri.com"&gt;http://Customers.esri.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bug Report Information&lt;BR /&gt;----------------------&lt;BR /&gt;Bug Report Number:&amp;nbsp; NIM071209&lt;BR /&gt;&lt;BR /&gt;Synopsis:&lt;BR /&gt;In ArcGIS 10, deleting an Esri GRID in ArcCatalog or with IDataset.Delete() will either produce an error or will crash the application when directory path is beyond a certain length.&lt;BR /&gt;&lt;BR /&gt;Long description:&lt;BR /&gt;In an ArcGIS Engine 10 console application, deleting an Esri GRID raster file with IDataset.Delete() will either result in a thrown exception at IDataset.Delete() or the console application will crash after IDataset.Delete() is called.&amp;nbsp; It has been observed that this occurs beyond a given length of the directory path or file name path where the GRID is stored on disk.&amp;nbsp; The same is produced in ArcCatalog or with ArcMap's Catalog window, where either an error or application crash occurs when attempting to manually delete within Catalog.&lt;BR /&gt;&lt;BR /&gt;Note 1:&lt;BR /&gt;Testing in ArcGIS 9.3.1 SP2 with the same GRID raster and same length in directory/file path does not produce the issue, only in version 10 of ArcGIS.&amp;nbsp; Although a crash in ArcGIS 10 may also be seen when attempting to add or paste a GRID to the same folder location where the Delete causes a crash or exception, customers may be working with GRIDs that were already located in that location prior to version 10 so now they have to modify the location of these files and their source code.&lt;BR /&gt;&lt;BR /&gt;Note 2:&lt;BR /&gt;Testing in ArcGIS 10 with a .tif (TIFF) instead of a GRID does not produce the issues.&lt;BR /&gt;&lt;BR /&gt;STEPS TO REPRODUCE:&lt;BR /&gt;1.&amp;nbsp; Open EngineConsole950753.sln (ArcGIS Engine 10 console application)&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp; Prepare to copy the attached GRID file, compati1, to the three different directory locations that will be tested in the subsequent steps.&amp;nbsp; Please create those directories in Windows Explorer as needed.&lt;BR /&gt;&lt;BR /&gt;3.&amp;nbsp; Test/Start debugging the first directory path location with folderName length of 137:&lt;BR /&gt;"C:\Projects\usfws\EasternShore\Vista_EasternShore\GIS_Datasets\Scenarios\Current_Landuse_Baseline\Evaluations\Baseline_Ecological_Systems"&lt;BR /&gt;&lt;BR /&gt;= console application will crash after calling IDataset.Delete() method.&amp;nbsp; Attempting to manually delete the same in ArcCatalog or ArcMap's Catalog window will cause ArcCatalog or ArcMap to crash, as well.&lt;BR /&gt;&lt;BR /&gt;4.&amp;nbsp;&amp;nbsp; Test/Start debugging the first directory path location with folderName length of 109:&lt;BR /&gt;"C:\Projects\usfws\EasternShore\Vista_EasternShore\GIS_Datasets\Scenarios\Current_Landuse_Baseline\Evaluations"&lt;BR /&gt;&lt;BR /&gt;= IDataset.Delete() will throw the following Exception:&amp;nbsp; &lt;BR /&gt;"Exception from HRESULT: 0x8004101B"&lt;BR /&gt;Attempting to manually delete the same in ArcCatalog or ArcMap's Catalog window will cause ArcCatalog or ArcMap to display an error message box with the following message:&lt;BR /&gt;"Failed to delete selected object(s)"&lt;BR /&gt;&lt;BR /&gt;5.&amp;nbsp; Test/Start debugging the first directory path location with folderName length of 97:&lt;BR /&gt;"C:\Projects\usfws\EasternShore\Vista_EasternShore\GIS_Datasets\Scenarios\Current_Landuse_Baseline"&lt;BR /&gt;&lt;BR /&gt;= IDataset.Delete() method successfully deletes the GRID file. Also, deleting the same GRID file in ArcCatalog or ArcMap's Catalog view does not produce any issues.&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Edgar B.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 13:23:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45919#M1191</guid>
      <dc:creator>FrankMcLean</dc:creator>
      <dc:date>2011-10-11T13:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: RasterIO.dll stack dump when deleting a raster file on disk with .Delete() - C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45920#M1192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frank,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the note.&amp;nbsp; In the end, it was easier just to rebuild the files from scratch.&amp;nbsp; I will look forward to the patch!&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;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 19:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/rasterio-dll-stack-dump-when-deleting-a-raster/m-p/45920#M1192</guid>
      <dc:creator>PaulDodds</dc:creator>
      <dc:date>2011-10-12T19:44:23Z</dc:date>
    </item>
  </channel>
</rss>

