T
tingletanglebob
Hi folks,
We developed an Outlook 2003 Com-AddIn in 1.1 (and a second one with VSTO –
just to test it) that saves emails after being read (this is determined when
opening the mail in a separate window and then closing the window) into a
document management system (Hummingbird DM). Now, every thing works fine
except for some users which are complaining that there mailbox is being
rebuild quite often (they are complaining specifically since this takes for
some of them quite a while – size is mainly 1GB and more).
We did everything by the book (as far as we know) and we dispose the used
document management system API calls when shutting down the addin, e.g. in
OnBeginShutdown.
We have:
System.Runtime.InteropServices.Marshal.ReleaseComObject(someCOMobject)
For each com object used
And
GC.Collect()
GC.WaitForPendingFinalizers()
GC.Collect()
GC.WaitForPendingFinalizers()
To be absolutely sure.
But the mailboxes keeps rebuilding for no apparent reason! There are also no
other add-ins running beside ours.
I don’t expect anyone to analyze our code therefore (I hope) somebody can
answer these straightforward questions:
1. Did anyone encounter something similar before?
2. What causes Outlook or Exchange to trigger a rebuild of the Mailbox of a
certain user – all possibilities that causes a rebuild please since it might
even not be related to our add-in.
Many thanks in advance
Patrick
We developed an Outlook 2003 Com-AddIn in 1.1 (and a second one with VSTO –
just to test it) that saves emails after being read (this is determined when
opening the mail in a separate window and then closing the window) into a
document management system (Hummingbird DM). Now, every thing works fine
except for some users which are complaining that there mailbox is being
rebuild quite often (they are complaining specifically since this takes for
some of them quite a while – size is mainly 1GB and more).
We did everything by the book (as far as we know) and we dispose the used
document management system API calls when shutting down the addin, e.g. in
OnBeginShutdown.
We have:
System.Runtime.InteropServices.Marshal.ReleaseComObject(someCOMobject)
For each com object used
And
GC.Collect()
GC.WaitForPendingFinalizers()
GC.Collect()
GC.WaitForPendingFinalizers()
To be absolutely sure.
But the mailboxes keeps rebuilding for no apparent reason! There are also no
other add-ins running beside ours.
I don’t expect anyone to analyze our code therefore (I hope) somebody can
answer these straightforward questions:
1. Did anyone encounter something similar before?
2. What causes Outlook or Exchange to trigger a rebuild of the Mailbox of a
certain user – all possibilities that causes a rebuild please since it might
even not be related to our add-in.
Many thanks in advance
Patrick