Knowledge Base - Technical Articles

Technical Article   Error:  Invalid raster dataset, failed to create raster layer - The selection cannot be displayed in the current view

Article ID: 21443
Software:  ArcGIS - ArcEditor 8.3, 8.1, 8.1.2, 8.2, 9.0, 9.1, 9.2, 9.3, 9.3.1 ArcGIS - ArcInfo 8.2, 9.0, 8.0.1, 8.0.2, 8.1, 8.1.2, 8.3, 9.1, 9.2, 9.3, 9.3.1 ArcGIS - ArcView 8.3, 8.1, 8.1.2, 8.2, 9.0, 9.1, 9.2, 9.3, 9.3.1
Platforms:  Windows NT 4.0, 2000, XP

Error Message

This error occurs when attempting to add a raster dataset into ArcMap:

"Invalid raster dataset, failed to create raster layer"

This other error occurs when trying to preview the same raster dataset in ArcCatalog:

"The selection cannot be displayed in the current view"


If you are able to use the file in ArcInfo Workstation or ArcView 3.x, the problem may be a corrupt or conflecting auxiliary file (*.aux). The offending .aux file may be in the same location as the raster, or it may be in the raster proxy location. The auxiliary file is a binary file that stores various types of information, including statistics and spatial referencing.

Solution or Workaround

Prior to executing this procedure, ensure that all hidden files and folders and file extensions are showing.

  1. Use ArcCatalog to copy the raster into a new directory.
  2. Start Windows Explorer and navigate to the new raster.
  3. Delete any *.aux files in the directory where the new raster resides.
  4. Add the new raster to ArcMap or preview it in ArcCatalog. Calculate new pyramids if prompted.

     If the new raster doesn't return this error, and it is necessary to maintain the original raster in it's original location, delete or rename the .aux file. It is also advisable to inspect the raster proxy folder for any conflicting or corrupt .aux files for this raster.

Related Information

Created: 1/21/2002
Last Modified: 5/3/2011

Article Rating: (4)
If you would like to post a comment, please login


By gutista - 11/05/2015 3:05 PM

Other - See details below.

I had the same problem. In my case I have discovered, that the problem was in raster file names and names of folders. Names of some pictures and folders were written with symbols like š,c,r,ž,ý and others. So it was the reason of Invalid raster dataset error. Maybe somebody has the same situation, so check correct spelling of file names (only english letters).


By Anonymous - 12/03/2006 9:27 AM

Other - See details below.

Feature suggestion: When ArcMap won't let me add a raster data set. Why do I have to look up and find this article, and then manually delet all the .aux files, and see if it works? Why cant AM present me with a dialog box that tells me that "Can't add raster data, may be because of corrupt auxialry files, do you want AM to delete the .aux-file? YES/NO/More info"

By Anonymous - 11/12/2006 4:48 PM

The article is incorrect or the solution didn’t work.

I copied the files as suggested, delteed the .aux and still get the error on ALL my raster data sets. This problem has just suddenly appeared. These files were viewable and working under 9.1just 3 days ago. What could have happened to cause this to appear?

By Anonymous - 03/10/2005 8:49 AM

Should this kb article (21433) include a mention of conflicts with orphan aux files in the RasterProxies folder?


By Anonymous - 01/18/2005 9:01 AM

this article worked for .tif files but not for the .sid files.


By Anonymous - 09/15/2004 11:51 AM

This solution didn't solve my problem. I'm trying to add a headerless raster (USGS landcover) to ArcMap and I get the error, "Invalid raster dataset, failed to create raster layer."

By Anonymous - 03/25/2003 2:11 PM

This error is generated within ArcMap. It happens when I try to add more than 25 rasters to one .mxd file. Each subsequent raster that I try to add becomes corrupted by ArcMap. I know of another person who has the same limitation only he can add up to 50 rasters. What's the deal?

By Anonymous - 03/07/2003 11:53 AM

This is the exact error I am getting, but I do not locate any aux files becuse I am working with a grid.

By Anonymous - 01/13/2003 3:55 PM