M
Michael
We have written a server application that periodically accesses
certain folders in Exchange user's mailboxes (for which the server has
permission) and moves the messages to the Deleted Items folder. The
application is a service running on Windows XP or Server 2003. It is
written in C# and uses the RDO methods in Redemption.dll to operate on
the folders and items.
This process usually goes smoothly, but every once in a while it looks
like the application does not move some of the messages. Upon further
inspection, the messages have been moved out of the folder, but the
OST file does not reflect the change. If we look at the
Synchronization tab in the Properties dialog for the folder (Outlook
2007, in this case), the "Server folder contains:" value is different
than the "Offline folder contains:" value.
If we use the Scan OST tool from Microsoft, it repairs the problem.
If we use the "Clear Offline Items" button on the General tab of the
folder Properties, that also seems to fix the problem.
My first question is whether or not I can prevent this situation from
occurring, or is this some form of OST corruption as a result of
another process moving messages?
We also have an Outlook add-in on the client, so if we could figure
out a way to repair the problem programmatically, that would be a
reasonable workaround. I tried the ExchangeSynchronizer /
RDOFolderSynchronizer, but that did not help. I also tried adding
these folders to the Send/Receive group, and that did not work
either. Is there any way to get the Offline and Exchange folder in
sync programmatically? Any help would be appreciated.
Michael
certain folders in Exchange user's mailboxes (for which the server has
permission) and moves the messages to the Deleted Items folder. The
application is a service running on Windows XP or Server 2003. It is
written in C# and uses the RDO methods in Redemption.dll to operate on
the folders and items.
This process usually goes smoothly, but every once in a while it looks
like the application does not move some of the messages. Upon further
inspection, the messages have been moved out of the folder, but the
OST file does not reflect the change. If we look at the
Synchronization tab in the Properties dialog for the folder (Outlook
2007, in this case), the "Server folder contains:" value is different
than the "Offline folder contains:" value.
If we use the Scan OST tool from Microsoft, it repairs the problem.
If we use the "Clear Offline Items" button on the General tab of the
folder Properties, that also seems to fix the problem.
My first question is whether or not I can prevent this situation from
occurring, or is this some form of OST corruption as a result of
another process moving messages?
We also have an Outlook add-in on the client, so if we could figure
out a way to repair the problem programmatically, that would be a
reasonable workaround. I tried the ExchangeSynchronizer /
RDOFolderSynchronizer, but that did not help. I also tried adding
these folders to the Send/Receive group, and that did not work
either. Is there any way to get the Offline and Exchange folder in
sync programmatically? Any help would be appreciated.
Michael