• 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
14 Jan 2010Outlook Object Model returns new id of public folder items.Manuel M.
14 Jan 2010\ Re: Outlook Object Model returns new id of public folder items.Manuel M.
15 Jan 2010   \ Re: Outlook Object Model returns new id of public folder items.Ken Slovak - [MVP - O...
18 Jan 2010      \ Re: Outlook Object Model returns new id of public folder items.Manuel M.
18 Jan 2010         \ Re: Outlook Object Model returns new id of public folder items.Ken Slovak - [MVP - O...
18 Jan 2010            \ Re: Outlook Object Model returns new id of public folder items.Manuel M.
12 Feb 2010               \ Long-term EntryID.Kevin German
12 Feb 2010                  \ Long-Term EntryID.Kevin German
12 Feb 2010                     \ Re: Long-Term EntryID.Brian Tillman [MVP-Ou...
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)