PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Re: Cached exchange mode, programmatically sync
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Re: Cached exchange mode, programmatically sync
![]() |
Re: Cached exchange mode, programmatically sync |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi Andreas,
I've resolved the invalid entry ID issue. Let’s just say a co-worker changed some code adding a some debug output down in the bowels of the product. It just happened to append the entry ID to the same string as the debug output. Now back to the MAPI_NO_CACHE issue with the OpenEntry call. It seems now the message can be opened, but it only contains header information. My first thought was change the sync options to download the entire message, but since it's a 2000 exchange server there are no such options in the UI of Outlook 2K3. So it still seems the MAPI_NO_CACHE flag is not opening the message from the mailbox on the server. Again any info/pointers would be greatly appreciated. Thanks, daveo "Andreas Roeder" wrote: > Hi Daveo, > maybe this article would help > http://support.microsoft.com/defaul...kb;EN-US;320017 > > -- > Ich habe nichts gemacht, gestern gings noch! > Bitte in den Newsgroup antworten damit jeder etwas davon hat. > Bravestar@Datenschutzministerium.de > "Daveo" <Daveo@discussions.microsoft.com> schrieb im Newsbeitrag > news:5713C5D3-DC34-4C8A-ADE1-BD37929EFD82@microsoft.com... > > Hi, > > A couple quick questions (I hope). > > > > I'm in the middle of tracking down some Cached exchange mode issues with > our > > product. In a nut shell, we place a message in a user's mailbox on the > > exchange server. Then try to open the entry with the entryID of the > message > > on the server, the problem is when in cached mode MAPI tries to open the > > entry from the local cached mailbox and OpenEntry returns > > MAPI_E_INVALID_ENTRYID since the message does not exist locally. > > > > I found some new flags, one for opening a message store on the server > which > > should ignore all the cached mailbox stuff. I can't seem to get it to > work > > even though it looks pretty straight forward in the MS example > > (http://support.microsoft.com/defaul...kb;en-us;834496). I've > also > > tried the OpenEntry flag which should by-pass the local store > > (MAPI_NO_CACHE). I receive MAPI_E_INVALID_ENTRYID no matter how I open > the > > message store or entry. I'm wondering if anyone has run into similar > issues. > > > > Lastly, is there a way to force a sync programatically between the client > > and server? > > > > Thanks for any info, > > daveo > > > |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Why do you think that the message contains only the header information?
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "daveo" <daveo@discussions.microsoft.com> wrote in message news:31184AD4-D6B7-4964-8D9B-C7B38B3F3408@microsoft.com... > Hi Andreas, > I've resolved the invalid entry ID issue. Let's just say a co-worker > changed some code adding a some debug output down in the bowels of the > product. It just happened to append the entry ID to the same string as the > debug output. > > Now back to the MAPI_NO_CACHE issue with the OpenEntry call. It seems now > the message can be opened, but it only contains header information. My first > thought was change the sync options to download the entire message, but since > it's a 2000 exchange server there are no such options in the UI of Outlook > 2K3. So it still seems the MAPI_NO_CACHE flag is not opening the message > from the mailbox on the server. > > Again any info/pointers would be greatly appreciated. > > > Thanks, > daveo > > "Andreas Roeder" wrote: > > > Hi Daveo, > > maybe this article would help > > http://support.microsoft.com/defaul...kb;EN-US;320017 > > > > -- > > Ich habe nichts gemacht, gestern gings noch! > > Bitte in den Newsgroup antworten damit jeder etwas davon hat. > > Bravestar@Datenschutzministerium.de > > "Daveo" <Daveo@discussions.microsoft.com> schrieb im Newsbeitrag > > news:5713C5D3-DC34-4C8A-ADE1-BD37929EFD82@microsoft.com... > > > Hi, > > > A couple quick questions (I hope). > > > > > > I'm in the middle of tracking down some Cached exchange mode issues with > > our > > > product. In a nut shell, we place a message in a user's mailbox on the > > > exchange server. Then try to open the entry with the entryID of the > > message > > > on the server, the problem is when in cached mode MAPI tries to open the > > > entry from the local cached mailbox and OpenEntry returns > > > MAPI_E_INVALID_ENTRYID since the message does not exist locally. > > > > > > I found some new flags, one for opening a message store on the server > > which > > > should ignore all the cached mailbox stuff. I can't seem to get it to > > work > > > even though it looks pretty straight forward in the MS example > > > (http://support.microsoft.com/defaul...kb;en-us;834496). I've > > also > > > tried the OpenEntry flag which should by-pass the local store > > > (MAPI_NO_CACHE). I receive MAPI_E_INVALID_ENTRYID no matter how I open > > the > > > message store or entry. I'm wondering if anyone has run into similar > > issues. > > > > > > Lastly, is there a way to force a sync programatically between the client > > > and server? > > > > > > Thanks for any info, > > > daveo > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

