Redemption RDOSession.GetFolderFromPath and Exchange Cache Mode

R

Ralf Jansen

I'm calling RDOSession.GetFolderFromPath with the FullFolderPath
originally retrieved from Outlooks ActiveExplorer.CurrentFolder.

I get MAPI_E_NOT_FOUND while using Exchange Cache Mode.
Will work when Cache Mode if off.

Known Issue, Bug, by Design or am i doing something wrong?

Thanks

--
Ralf Jansen

deepinvent Software GmbH - Viersen, Germany - http://www.deepinvent.com
Blog: http://mailstore-blog.blogspot.com
Archiving E-mails with MailStore: http://www.mailstore.com
 
K

Ken Slovak - [MVP - Outlook]

Looks like a bug to me. I tested it in cached and non-cached mode with a
mailbox Inbox and a public folder. It worked in non-cached mode and not in
cached mode.

I pinged Dmitry about it.
 
R

Ralf Jansen

Thanks, Ken.

What Version of Exchange did you use for testing?
I checked against Exchange 5.5
I've tested also against Exchange 2003 and it seems to work there, but
i'm not sure as this Server is hosted in the Internet and maybe
Outlook/Exchange handles Cache Mode differently when going through a
firewall.

--
Ralf Jansen

deepinvent Software GmbH - Viersen, Germany - http://www.deepinvent.com
Blog: http://mailstore-blog.blogspot.com
Archiving E-mails with MailStore: http://www.mailstore.com
 
D

Dmitry Streblechenko

I can reproduce the problem for the Public Folder, but not for any mailbox
folder.
Can you tr yto run tehe following script from OutlookSpy and let me know if
the same values are reported (go to teh folder in question, click Folder
button on the OutlookSpy toolbar, go to tehe Script tab, paste teh script,
click Run):

set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set Folder = Session.GetFolderFromID(MAPIFolder.EntryID)
set Folder2 = Session.GetFolderFromID(Folder.EntryID)
MsgBox "Outlook: " & Folder2.FolderPath & vbCrLf & "Redemption: " &
Folder2.FolderPath


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
D

Dmitry Streblechenko

Contact me at my private e-mail address if you want a version with a fix.

Thanks!

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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