laptop and a wrench

Bug

IRasterDataset::OpenFromFile does not open the raster dataset.

Last Published: August 25, 2014 ArcGIS Engine
Bug ID Number NIM063828
SubmittedDecember 25, 2010
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found10.0
Program languageC#
Operating SystemWindows OS
Operating System Version7
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Use the code below:----------------------------string str1 = @"E:\Old system's data\ESRI_incidents\#676417_15oct"; IRasterDataset objRasterDataset = new RasterDatasetClass(); IWorkspaceFactory pWSF=new RasterWorkspaceFactoryClass(); IRasterWorkspace pRasterWS; pRasterWS = (IRasterWorkspace)pWSF.OpenFromFile(str1, 0); IRasterDataset pRD = pRasterWS.OpenRasterDataset("ParcelScan.img");

Steps to Reproduce

Bug ID: NIM063828

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options