Fixed font Subject: Outlook Object Model returns new id of public folder items
Author: Manuel M. Date: 14 Jan 2010
References:
Hello,

I have a strange behavior when retrieving items from public folders.

I use Java and Comfyj to connect to Outlook. It uses the Outlook
Object Model.
What I have done so far.

1) Connecting to Outlook and retrieving all folder and items in a
folder.
2) Saving the EntryID and StoreID of the items (mails, tasks, etc.)
3) Trying to display an item that is NOT in a public folder works
always!
4) Trying to display an item that IS in a public folder works
sporadic. Displaying the item directly after saving the EntryID and
StoreID works. Calling the item after 2 hours did not work. When I
save the item again it has a different EntryID but the StoreID is the
same.
Same problem if i kill the outlook.exe process and trying to display
the item again (is faster than waiting 2 hours).

The items were not modified or moved.

Windows XP SP3 with Outlook 2007 SP 2 and Exchange 2003.
Same behavior with Exchange-Cache-Mode activated and deactivated.

Example of the different EntryIDs:

1. save:
EF0000005E20C936D0B94958BCFB3349E23E1780080001000000010000000000B469010000000000CDC9

2. save:
EF0000005E20C936D0B94958BCFB3349E23E1780080006000000010000000000B469010000000000CDC9

On the 26th position they differ: 1 in the first and 6 in the seccone
EntryID.

If I wait again 2 hours or forcing the error then the ID is again the
first one.

I stuck on this and I am absolutely confused. Is this a internal
Outlook session behavior or what could this be?
Before I forget it. The Outlook connection is always done with the
same user, password (profile). Also calling the item to display.

Any help or ideas are appreciated.

Thank you,
manuel