Error: Invalid Raster dataset. Failed to insert picture element
Opening an existing map document (*.mxd) file produces the following error:
"Invalid raster dataset. Failed to insert picture element."
An inserted picture element in the Layout of the map document has become corrupted or is empty. This can be caused by moving the source of the inserted picture on disk, renaming the picture, or deleting it altogether. An inserted picture, by default, will only contain a path pointer to the raster file like a layer. If anything happens to the raster on disk that does not allow ArcGIS to locate it, the picture element becomes invalid (empty) and the error message is the result.
Solution or Workaround
The invalid element must be removed. The document can then be recreated with the new copy of the raster.
- Click ok to the error message to gain access to the MXD.
- Go to the Layout view.
- From the Edit menu select 'Select All Elements.' This will place graphic editing handles around the extents of the invalid pictuer.
- Pan to the general area of where the picture was located.
- Select only the empty boxes where the inserted pictures used to be.
- Zoom out to the full extent of the layout, and ensure no other elements (legend, data frames, titles, etc.) are still selected.
- Press the delete key, or use the Edit > Cut option to remove the selected empty picture elements from the layout.
- Save the MXD.
There may be more than one invalid picture element in the map document. If you get the same error message reopening the document, repeat the process until the error message stops. If it does not, then there could be other corruptions in the MXD. Contact ESRI Technical Support for further assistance.
To avoid this error in the future, you can store the picture within the map document. In the Properties of the inserted picture, on the Picture tab, there is a check box for "Store Picture as Part of the Document". This option will store the image data in the MXD file. This will increase the size of your MXD, but will ensure that the picture will always be there. This is NOT suggestible for large files. Small company logos, for example, would be fine.
- Raster Data Objects Error : Invalid raster dataset error when viewing JPEG images in ArcMap
- Invalid raster dataset. Failed to create raster layer
- Invalid Raster Dataset/Raster data sources are broken in MXD
- Adding more than 20 JPEG2000 images to an ArcMap document causes errors
- Invalid raster dataset, failed to create raster layer - The selection cannot be displayed in the current view
- Raster Data Object Error - Unable to read standard header