AnsweredAssumed Answered

FeatureLayer from local FeatureTable: How to avoid exception "data_source is already owned"?

Question asked by deleted-user-Ohz6rwd1kavx on Jan 23, 2017
Latest reply on Jan 23, 2017 by deleted-user-Ohz6rwd1kavx

Hi,

 

I'm getting an exception "data_source is already owned" when create a FeatureLayer from a local FeatureTable. In my situation I had already created another FeatureLayer (in another Map) based on the same FeatureTable. I believe this relates to .geodatabase locking.

 

I have just begun investigating, but I am curious if anyone else is setting this, and more importantly if there are known steps to avoid this.

 

Thanks,

 

-Cory 

Outcomes