kgobakis

Problem with creating a raster dataset  (ArcObject Java SDK)

Discussion created by kgobakis on Apr 29, 2011
Latest reply on Jun 17, 2011 by sceptre
Hi
I am a new developer and i start by running some examples from the ArcObject Java SDK.
I try to run the How to create a raster dataset example using the Eclispe as IDE and i have the flowing error

AutomationException: 0x80041017 - Failed to create raster dataset in '"esriDataSourcesRaster.RasterWorkspace"'
at com.esri.arcgis.interop.NativeObjRef.nativeVtblInvokeNative(Native Method)
at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source)
at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source)
at com.esri.arcgis.interop.Dispatch.vtblInvoke(Unknown Source)
at com.esri.arcgis.geodatabase.IRasterWorkspace2Proxy.createRasterDataset(Unknown Source)
at arcgissamples.raster.BuildPyramids.createRasterDataset(testCreaRaster.java:103)
at arcgissamples.raster.BuildPyramids.main(testCreaRaster.java:74)
at arcgissamples.loadsample.Main.main(Main.java:26)

I have search the net but i cannot find any answer.

Outcomes