trouble with GetItemFromID / GetMessage

  • Thread starter Johannes Franke
  • Start date
J

Johannes Franke

Hello all,

does anybody know the meaning of the error codes

0xDCD4010F, 0xE514010F, 0xED54010F, 0xE0F4010F, 0xE934010F, 0xF174010F

which are thrown when using the GetItemFromID method of the MAPI NameSpace
object in Outlook? The error description is just "the action failed" :eek:( -
at least when I try to access a contacts folder which is beneath the
Favorites. Exchange cache mode is on (Outlook 2003).
I am determined that EntryID and StoreID are correct when calling this
function.
Trying the same with CDO session's GetMessage function gives me error code
0x8004010F which also translates to "the action failed".
The items can be properly opened in the Outlook 2003 front-end, even if the
network connection to the Exchange server does not exist. So what could be
wrong?

Thank you for help,
regards,
Joe
 
K

Ken Slovak - [MVP - Outlook]

Carefully review the EntryID properties of the items and see if they really
have the same EntryID among the folder in Favorites and the actual folder.
I've found that in cached mode one bit is set that is cleared in non-cached
mode (or vice versa, I forget) so the byte become 8 instead of 0.

Programming questions such as this should be posted to one of the Outlook
programming newsgroups.
 
J

Johannes Franke

Ken,

thank you very much for your reply. I think this might solve the problem.

Best regards,
Joe
 

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