MAPI_E_INVALID_OBJECT error

A

AVIS

Hi,

I have an application developed in VISUAL BASIC 6.0, which creates
appointments in OUTLOOK, with all the default values (such as time, date,
location etc.,) for the appointments. I am using CDO 1.21.

The application was working fine till recently. But, the
MAPI_E_INVALID_OBJECT pops up, whenever i try to update a particular
appointment for a particular user's calender in outlook. Other appointments
are getting updated perfectly fine for the same user. Only, this particular
appointment is not getting updated.

Can anyone help to resolve the problem
 
A

AVIS

Will this error occur, if the start time of the appointment is not provided.
If so, can anybody tell me how this can be reproduced internally? ie., this
error is reported by only one user, who is having an executable. Only on
reproducing the same by me, will i be able to come out with a fix for the
issue, in the source code.
 
K

Ken Slovak - [MVP - Outlook]

If it's only that 1 item in that one Calendar for only that user maybe the
appointment is corrupted.
 
A

AVIS

Following are my queries on this issue, because the issue still persists,

1. Is it possible to reproduce the issue with the same application and with
another outlook user?
2. Will the problem persist for the outlook user for the same appointment,
always?
3. Can I (if possible), be explained the storage structure of the outlook
appointments in Exchange Server?

Because, I need to provide, proper explanation with samples, that the error
is due to the corrupted OUTLOOK profile of the user.

Thanks in advance for the help.
 
K

Ken Slovak - [MVP - Outlook]

I never said the problem was a corrupted profile, I said it might be a
corrupted item. To fix that you delete the item and create a new one with
the same settings.

If the item is corrupted how would you reproduce the problem other than
trying to work with copies of that item elsewhere? If the item is corrupted
then the problem will persist until the item is deleted. Both questions
really don't make a lot of sense.

MS has documentation of the structure of items in Exchange, you will need to
read all the Extended MAPI and Exchange documentation for that, although I
have no idea why that would be necessary.
 

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