Redemption Error

G

Garnjost, Kurt

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
 
G

Garnjost, Kurt

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


How was the MSG file created?

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

Garnjost said:
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
 
D

Dmitry Streblechenko

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

Garnjost said:
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


How was the MSG file created?

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

Garnjost said:
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
 

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