Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / February 2008

Tip: Looking for answers? Try searching our database.

Redemption Error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Garnjost, Kurt - 25 Feb 2008 16:15 GMT
I have a program using Redemption RDO to access .msg files.  Generally, it
works quite well, but for a few files I get an error:

-2147352567 File [file name/path] does not exist., (failed on
"GetMessageFromMsgFile")

The trouble is that the file does exist and I can open it in Outlook just
fine.  I can see nothing in OutlookSpy that is strange.  The only odd thing
I have noted is that the modified date for the not visible in Windows
Explorer for the files and shows as "December 30, 1899 00:00:00" in the
properties dialog.

Does anyone have any idea what is wrong with these .msg files?  Is it a
Redemption problem (I doubt it, but I don't really know)?  Any suggestions
on how to get past this would also be appreciated.  I have set up error
handling that records the problem and moves on, but would prefer to be able
to process the files.

Kurt Garnjost
Dmitry Streblechenko - 26 Feb 2008 22:58 GMT
How was the MSG file created?

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

>I have a program using Redemption RDO to access .msg files.  Generally, it
> works quite well, but for a few files I get an error:
[quoted text clipped - 17 lines]
>
> Kurt Garnjost
Garnjost, Kurt - 26 Feb 2008 23:52 GMT
It was created with a product called Discovery Attender, which creates a
database of e-mail information from PST files and then will create MSG files
out of the PSTs on request.  (Some selection can be done, if desired before
the MSG creation.)  (I know I could generate all this myself with
Redemption, but generally Discovery Attender works well and saves me a lot
of coding.)

There are about 50 files like this out of some 170,000 MSG files all created
from PSTs the same way.  Only the 50 have this problem.

I have written some code that catches these problem files and skips them
with a list generated, but I trying to understand why Redemption cannot open
them.

Kurt Garnjost

On 2/26/2008 17:58, in article OlnywrMeIHA.5620@TK2MSFTNGP04.phx.gbl,

> How was the MSG file created?
>
[quoted text clipped - 24 lines]
>>
>> Kurt Garnjost
Dmitry Streblechenko - 27 Feb 2008 22:43 GMT
Redemption checks whether the file exists by retrieving the last write time
on the file (this way it does not have to be opened). The function defaults
to 0 (which is December 30, 1899 00:00:00) if the file does not exist...
Send me an e-mail so I can send you a version with a fix.

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

> It was created with a product called Discovery Attender, which creates a
> database of e-mail information from PST files and then will create MSG
[quoted text clipped - 49 lines]
>>>
>>> Kurt Garnjost
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.