Forum Discussion

Lignite's avatar
Lignite
Copper Contributor
Aug 21, 2019
Solved

SP2016 Application using BCS IEntityInstanceEnumerator

I have recently began re-work a custom .NET applications and have migrated it from .NET3.5 on SP2010 (dev on VS2010) to .NET4.52 on SP2016 (dev on VS2017). Everything has ported fairly seamlessly. How...
  • Lignite's avatar
    Aug 26, 2019

    FWIW: It was determined that the use of the using{} statement was the cause of the issue.  It was causing the disposal of the object that was being returned to be cleared before it could be used back in calling function.  It appears that this it was not fixed until .NET 4.5, which is why it did not "raise its ugly head" until now.  I have removed the using{} statement and moved to calling function in those particular areas and all is good now.

     

    Lignite 

Resources