sanjayjadhav

Error in Tracing geoemtric Network

Discussion created by sanjayjadhav on Dec 26, 2013
Hello,

I am getting following error when I call ITraceFlowSolverGEN.FindFlowEndElements Method. Basically, I am trying to perfrom the tracing on a geometric network.

Error :

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

   at ESRI.ArcGIS.NetworkAnalysis.TraceFlowSolverClass.FindFlowEndElements(esriFlowMethod flowMethod, esriFlowElements flowElements, IEnumNetEID& junctionEIDs, IEnumNetEID& edgeEIDs)

   at clsTrace.FindFlowEndElementsTrace(IFeature& pFeature, Boolean blnEdgeFlag, Boolean blnJunctionsAndEdgesFlowEndElements, Boolean blnEdgeFlowEndElements, Boolean blnPutBarrier, Boolean blnResultsAsMapSelection) in ...



I see that many developers have faced this issue in different situations. This issue has been associated with non releasing the COm objects etc.

So, any help on this issue will be appreciated.

Regards,
S.

Outcomes