Problem with creating a raster dataset  (ArcObject Java SDK)

846
1
04-29-2011 02:18 PM
New Contributor
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.
Reply
0 Kudos
1 Reply
New Contributor
I am having the same problem.  kgobakis, did you ever find a solution to your problem.  I copied the ESRI example directly into eclipse and I am getting the same error you are.  kgobakis/ESRI please help!!!
Reply
0 Kudos