Using Raster::SaveAs returns 'Automation error'

Last Published: April 25, 2020

Error Message

In a customized environment, the Raster::SaveAs method returns an automation error when the output workspace is an SDE workspace.


This is a known issue. A raster cannot be saved to a geodatabase using Raster::SaveAs with ArcGIS 8.1.

Solution or Workaround

Use the RasterDataset::SaveAs method to save the raster dataset to a geodatabase.

Article ID:000003177

  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

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