msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Redemption Error

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA
Author Message
Garnjost, Kurt



Joined: 25 Feb 2008
Posts: 2

PostPosted: Mon Feb 25, 2008 4:15 pm    Post subject: Redemption Error Reply with quote

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

Archived from group: microsoft>public>outlook>program_vba
Back to top
View user's profile Send private message
Dmitry Streblechenko



Joined: 12 Aug 2007
Posts: 220

PostPosted: Tue Feb 26, 2008 8:58 pm    Post subject: Re: Redemption Error Reply with quote

How was the MSG file created?

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

"Garnjost, Kurt" wrote in message %KGARNJOST@KHHTE.com...
>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
>
Back to top
View user's profile Send private message
Garnjost, Kurt



Joined: 25 Feb 2008
Posts: 2

PostPosted: Tue Feb 26, 2008 11:52 pm    Post subject: Re: Redemption Error Reply with quote

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,
"Dmitry Streblechenko" wrote:

> How was the MSG file created?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Garnjost, Kurt" wrote in message
> %KGARNJOST@KHHTE.com...
>> 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
>>
>
>
Back to top
View user's profile Send private message
Dmitry Streblechenko



Joined: 12 Aug 2007
Posts: 220

PostPosted: Wed Feb 27, 2008 8:43 pm    Post subject: Re: Redemption Error Reply with quote

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, Kurt" wrote in message %KGARNJOST@KHHTE.com...
> 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,
> "Dmitry Streblechenko" wrote:
>
>> How was the MSG file created?
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Garnjost, Kurt" wrote in message
>> %KGARNJOST@KHHTE.com...
>>> 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
>>>
>>
>>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Redemption, Help with selecting E-mail Account I'm hoping someone can assist me, as I'm a bit lost. I'm trying to select a particular Outlook account to send out an e-mail message from Excel. My code that e-mails from Excel works fine, apat from the fact it selects the default Outlook account to send

Error automating outlook from .net Hi I created a setup file of my vb.net app and remotely installed it on a client's machine. The app bombs at start-up with the error; Error while initializing application: Retrieving the COM class factory for component with CLSID

Error when creating 247 appointments in exchange mailbox Hello, I try to create hundreds of appointments in the calendar with a link to a contact. This works without problems on pst stores. With exchange mailboxes it works too in OL 2003 but in 2002 on the 247th item the following error occurs: run time error -

Outlook - Redemption. How to do an error handling? Hi, I'm using Redemption to send emails in my app code (Powerbuilder 10). If email address is invalid, say ""xxx.com or @@@.com - then call to the method crashes my application. Is there any easy and robust way to handle these kinds of

redemption SAfeMailItem.Send - what are error return codes? Hi, I'm trying to find out what are return error codes for the Redemption SafeMailItem Send method - I'd like to have something like : result = and then to inform user about cause of the error. TIA
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group