Hello,
I suffer from error HRESULT E_FAIL has been returned from a call to a COM component in .Net.
I developed code that work through large dataset iteratively. It repeats almost same function for each iteration.
But in the middle of iteration, I meet HRESULT E_FAIL has been returned from a call to a COM component.
The point of error looks random.
Sometimes it crashes here, next time in there.
It crashes at such as
fc2Poly.in_features = inBoundary + ";" + pairline;
fc2Poly.out_feature_class = "polyMerged";
gp.Execute(fc2Poly, null);
or
fcOuterBarriers = gpUtils.OpenFeatureClassFromString("polyMerged_erased");
Error occurs at data open or writing, so I think it could be problem with GDB that I use for process.
Each iteration, I make several temporary featureclass files at GDB, and overwrite those in next iteration.
Is it possible overwriting repeatedly cause problem of GDB?
Please help me.
Thnks.
Insu