Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to upgrade an application from ArcObjects 9.3 (C# .NET) to 10. Unfortunately, there seems to be some incompatibility regarding the IRasterDataset.Copy method. The following code worked fine in 9.3:

my_raster_dataset.Copy("my_copied_raster", my_sde_workspace);

my_raster_dataset is a raster dataset called "INPUT_RASTER" loaded from a file geodatabase. my_sde_workspace is an ArcSDE 9.3 geodatabase running on SQL Server 2005.

Using ArcObjects 10, I get the following error message: System.Runtime.InteropServices.COMException: The table was not found. [VAT_INPUT_RASTER] at ESRI.ArcGIS.Geodatabase.IRasterDataset.Copy(String copyName, IWorkspace copyWorkspace)

Any ideas or suggestions? Do I have to upgrade ArcSDE to 10 to make this work?

Thanks in advance.

EDIT - Found the answer

Found the problem. I was checking out esriLicenseProductCodeEngine instead of esriLicenseProductCodeEngineGeoDB. Strange, that the code worked with ArcObjects 9.3 since 2010 and suddenly stopped working with ArcObjects 10.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.