Frequent Mailbox Rebuild - what could cause it?

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
 
B

Brian Tillman

tingletanglebob said:
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)

Add-in code questions belong in microsoft.public.outlook.program_addins
 
T

tingletanglebob

Brian,

sorry to cause confusion, but I did not ask a code question, I just wanted
to be thorough to avoid any extra questions ...... didn't work!

However I quote my question again:

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.

I am in particular interested in question two....

Many thanks anyway

Regards

Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top