Problem with outlook addin holding public folder items open

  • Thread starter Thread starter Dave Townsend
  • Start date Start date
D

Dave Townsend

Since installation of a .NET based outlook addin users are experiencing
problems with items in their public folders. Basically one user will
edit the item then others will not see the changes and when they try to
make any change to the version they see outlook claims that the item is
still being edited by someone else. This is despite the fact that the
other user has closed the item a while ago.

I am not totally sure whether the addin is causing this behaviour since
the evidence is only coincidental. There is one thing that my addin does
that might be the cause though. My addin keeps a reference to every
created inspector in a list so that it can respond to the activated and
deactivated events. My only thought is that by doing this I am forcing
outlook to hold the items open longer than necessary or something.

Has anyone else seen this behaviour and are there any suggestions on
what is causing it?

Dave
 
Probably a garbage collection issue. Even though you dereference the
object, .NET hasn't cleaned it up and still is holding it. You may want to
call the garbage collector after you finish with the object in question.

Tom
 
Back
Top