Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am querying 100 SdeFeatureclasses Inside a for loop using a Polygon using following code.

//This List of SDE.FeatureClases.. List FeatureClassList=GetFeatureClasses();
Code:

'for(int i=0;i<FeatureClassList.Count;i++){

ISpatialFilter pspQuery=new SpatialFilterClass();
pspQuery.Geometry=myGeom;
pspQuery.spatialRel=esriSpatialRelEnum.SpatilRelIntersects;    
PFeatureClass=PworkSpacefactory.OpenFeatureClass(FeatureClassList[i])    
int Count=PFeatureClass.FeatureCount(pspQuery);

}'

When Query Reaches to 25th FeatureClass it, is showing E_RPC_SERVERFAULT Exception...... Do i have to Change any configuration settings in sde connection files. Here i am using PropertySetCLass Only.....

ThankS SRI

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.