Help!

MAPI_E_INVALID_OBJECT error

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA RSS
Next:  BCM sending 2 emails, not 1, to a contact  
Author Message
AVIS
External


Since: Jan 13, 2009
Posts: 3



PostPosted: Tue Jan 13, 2009 1:28 am    Post subject: MAPI_E_INVALID_OBJECT error
Archived from groups: microsoft>public>outlook>program_vba (more info?)

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
Back to top
AVIS
External


Since: Jan 13, 2009
Posts: 3



PostPosted: Tue Jan 13, 2009 3:42 am    Post subject: RE: MAPI_E_INVALID_OBJECT error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

"AVIS" wrote:

> 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
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Tue Jan 13, 2009 9:09 am    Post subject: Re: MAPI_E_INVALID_OBJECT error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"AVIS" <AVIS.RemoveThis@discussions.microsoft.com> wrote in message
news:28CDFB05-E917-4F59-93D9-80EAD9829AB7@microsoft.com...
> 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
Back to top
AVIS
External


Since: Jan 13, 2009
Posts: 3



PostPosted: Thu Feb 19, 2009 11:06 pm    Post subject: Re: MAPI_E_INVALID_OBJECT error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

"Ken Slovak - [MVP - Outlook]" wrote:

> If it's only that 1 item in that one Calendar for only that user maybe the
> appointment is corrupted.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "AVIS" <AVIS.TakeThisOut@discussions.microsoft.com> wrote in message
> news:28CDFB05-E917-4F59-93D9-80EAD9829AB7@microsoft.com...
> > 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
>
>
Back to top
Dan Mitchell
External


Since: Nov 19, 2004
Posts: 75



PostPosted: Fri Feb 20, 2009 9:51 am    Post subject: Re: MAPI_E_INVALID_OBJECT error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

AVIS <AVIS.DeleteThis@discussions.microsoft.com> wrote in
news:9B771E9C-1120-432D-989B-0F3E893ABA8C@microsoft.com:
> 3. Can I (if possible), be explained the storage structure of the
> outlook appointments in Exchange Server?

See here:

http://msdn.microsoft.com/en-us/library/cc425490.aspx

-- dan
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Fri Feb 20, 2009 10:40 am    Post subject: Re: MAPI_E_INVALID_OBJECT error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"AVIS" <AVIS.DeleteThis@discussions.microsoft.com> wrote in message
news:9B771E9C-1120-432D-989B-0F3E893ABA8C@microsoft.com...
> 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.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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