glerl

"COM Exception" and "Protected Memory" Errors

Discussion created by glerl on Nov 1, 2011
Latest reply on Apr 2, 2012 by MBoucher21
Hello,

I am trying to delineate the drainage areas for stream monitoring stations.  I have the stations as points in a shapefile and am using NDHPlus data including elevation, fac, fdr, catchment, flowlines, and waterbodies. 

I'm having no success.  I keep getting a couple of different error messages.  Last week it was COM exception errors, this week protected memory errors.  I never resolved the COM error message problem so I am not sure if I will get it back when I resolve the protected memory errors or it if has somehow worked itself out.  

I have attempted to delineate using both an ArcView10 license and an ArcInfo10 license with the same outcome. I am using ArcHydro2.0.  When I was unsuccessful with point delineation I tried doing a batch delineation and got a error message reading "external component has thrown and exception!"

Does anyone have any ideas?  I have copied the error messages below.
Thanks so much for help anyone can offer!
Alicia
_______

Source point is not valid System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL ahs been returned from a call to a COM component.
at ESRi.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel)  at ESRI.APWR.ApHydro.GeometryHelper.WshDelineationFromPointAndAdjointCatchment(IRasterlayer flowDirRasterLayer, IRasterLayer strRasterLayer, IPoint pPoint, IFeatureClass catchmentFC, IFeatureClass adjointCatchmentFC, StringsWshIDFld, String& strMsg, Double dAreaCleanup Threshold) in C:\Projects\10_Final\ArcHydroTrools\src\ApHydro\GeometryHelper.vb:line 648

System.AccessViolationException: Attempted to read or write protected memory.  This is often an indication that other memory is corrupt.
at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)
at ESRI.APWR. ApHydro.GeometryHelpter.WshDelineationFromPointAndAdjointCatchment(IRasterLayer flowDirRasterLayer, IRasterLayer strRasterLayer, IPoint pPoint, IFeatureClass catchmentFC, IFeatureClass adjointCatchmentFC, StringsWshIDFld, String sAggWshIDFld, String& strMsg, Double dAreaCleanup Threshold) in C:\Projects\10_Final\ArcHydro\GeometryHelpter.vb:line 679

Outcomes