Invalid raster dataset.  Failed to create raster layer.

12546
16
Jump to solution
11-14-2012 10:38 AM
KyleSmith2
New Contributor II
I'm having an issue viewing raster data stored in SDE 10.1(Windows SQL Server R2) from Desktop 10.0.  When I attempt to port the raster data into 10.0 I get the error "Invalid raster dataset.  Failed to create raster layer."  I can import and view the raster data using Desktop 10.1 without problem.

I've been looking for a fix, but unfortunately this appears to be a generic error message with many potential causes.  Has anyone else experienced this problem?  Is there an incompatibility between SDE 10.1 and Desktop 10.0 or is there an issue with my data/SDE setup.
0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor
Hi Kyle,

I believe you may have found a bug.  I was able to reproduce this issue with your data, and another raster I had that contains a colormap.  I would recommend following up with Tech Support so they can properly log this issue. 

You can use a workaround.  Instead of importing the raster by right-clicking on the geodatabase > Import > Raster Dataset, use the Copy Raster tool.  With this tool there is the option 'Colormap to RGB'.  This will retain the same colors, but your image will now be a 3-band raster dataset.  I tested this and was able to view the ArcSDE 10.1  raster dataset successfully in ArcGIS Desktop 10.0.

View solution in original post

0 Kudos
16 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Kyle,

Are you attempting to view a raster dataset or a mosaic dataset?

Is this occurring for all raster/mosaic datasets?

What version of ArcGIS Desktop 10.0 (including Service Packs) are you using?

What RDBMS is SDE 10.1 installed for (i.e. SQL Server 2008, Oracle 10gR2, etc)?
0 Kudos
KyleSmith2
New Contributor II
Hi Jake,

I'm having an issue with raster datasets. I haven't tested mosaics yet.  To create the dataset, I'm right clicking the database in catalog and using the standard import.  I'm not entering a keyword.

I'm running on Windows 2008 R2, SQL Server 2008 R2.

SDE is 10.1 sp 1.  I'm creating the raster dataset with Desktop 10.1 sp1.  I can view the dataset without issue from Desktop 10.1.  The Desktop version I'm having problems with is 10.0 sp5.

Thanks
0 Kudos
JakeSkinner
Esri Esteemed Contributor
I could not reproduce this with ArcGIS Desktop 10.0 SP5.  Let's test to check that it's nothing specific with the raster datasets.  Can you import the attached TIFF and see if you can view it in ArcGIS Desktop 10.0?
0 Kudos
KyleSmith2
New Contributor II
Yes, I can view your image.  I noticed that the image you supplied has multiple bands, while my images have none.
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Here is a one-band image you can test with.
0 Kudos
KyleSmith2
New Contributor II
The single band works as well.  It is just my rasters that don't work.  I'm trying to use .tif images of USGS quads.  There isn't anything unusual about them that I know of, other than being 10+ years old.

Thanks for your help.
0 Kudos
JakeSkinner
Esri Esteemed Contributor
How large are the .tif images?

How did you import the raster datasets into SDE?
0 Kudos
KyleSmith2
New Contributor II
The .tifs average between 5-10MB.  I tried to attach one, but it was too large.

To create the raster dataset, I am using ArcCatalog 10.1.1, right clicking the database connection, selecting Import and then Raster Datasets.  I leave the keyword blank and I do not make any changes to the environments.  So far all of the rasters have imported successfully and are viewable from ArcCatalog 10.1 and ArcMap 10.1.  It is only from the 10.0.5 clients that I get the Invalid raster message.

I have also tried importing the raster from ArcCatalog 10.0 into SDE 10.1.  The rasters import correctly, but are not viewable in 10.0 or 10.1.
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Try exporting one of the .TIF images to another format (i.e. .IMG), then import the raster into SDE.  Do you still receive the same error when trying to view the raster dataset?
0 Kudos