I have just installed CDO on my Exchange 5.5. I installed SP2 and upgraded
Outlook to OL98 (8.5.5603.0). I finally got CDO to pop up the Agents tab,
and was successful in getting a script to write to a file. I was feeling
pretty good about myself, and then things stopped working.
When I tried to pull out message information, trouble. I use
EventDetails.Session, EventDetails.FolderID, and EventDetails.MessageID to
get the session object and respective ID's. No error there. But, whenever
I try to set either the folder or message object using the
session.GetFolder(folderID, Null) or session.GetMessage(messageID, Null)
commands, Exchange calls an error:
Session.GetMessage Failed: [MAPI - [MAPI_E_UNKNOWN_ENTRYID(80040201)]]:
Session.GetFolder Failed: [MAPI - [MAPI_E_UNKNOWN_ENTRYID(80040201)]]:
(This message is generated by the 'GetEventDetails' Function of the Expense
Agent Script from Rizzo's Programming Outlook and Exchange book - modified
to not call the CheckTotal Function - Chapter 12 if anyone is interested)
I looked in MS help for this error, and I got some indication that
synchronization is involved, but I don't have a clue what this means.
Can anyone help??? I'd really appreciate some direction to move on this...