You are here: > ESRI Forums > arcgis engine forums > Thread Replies

ArcGIS Engine Forums

ArcGIS Engine: ArcObjects .NET API forum

custom gp tool unable to delete existing ra...   Randal Greene Oct 09, 2009
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject custom gp tool unable to delete existing raster when called from engine app 
Author Randal Greene 
Date Oct 09, 2009 
Message I'm building an engine app for 9.3 using VS.NET 2008 (C#). The app calls a custom geoprocessing routine and adds the gp raster output as a map layer. If the raster already exists, the gp routine will replace it on the first run. But on the second run the custom gp routine causes "ERROR 000871: Output raster: Unable to delete the output" on the execution of the SingleOutputMapAlgebra gp tool. This happens even though OverwriteOutput is set true in both the engine app and the custom gp tool! Any ideas greatly appreciated...