Error when trying to save an AppointmentItem corresponding to acecurrent exception

  • Thread starter Thread starter gchassigneux
  • Start date Start date
G

gchassigneux

Hi !

I am struggling with a problem and I have no idea any more.
I am writing an application in .NET(C#) which should be able to create
appointments and update them using outlook automation.

Everything worked well till a couple of days ago where I could not any
more save an Outlook.Exception.AppointmentItem using its Save() method
after having modify it (say its start date).
The error I get is the following :

"You do not have the authorization to move this item."
[Microsoft Office Outlook -->
System.Runtime.InteropServices.COMException : Vous n'avez pas les
autorisations nécessaires pour déplacer cet élément.]
à System.Windows.Forms.Control.MarshaledInvoke(Control caller,
Delegate method, Object[] args, Boolean synchronous)
à System.Windows.Forms.Control.Invoke(Delegate method, Object[]
args)
[...]

This error appears only when Outlook is running while trying to save.
If Outlook is closed (the visual application, not the process
outlook.exe) I can save the AppointmentItem without any difficulty.

I am sure it worked because I tested it 2 or 3 weeks ago.
Do you point out the cause of that weird behaviour ?

Thanks in advance for your help !
Guim
 
I am struggling with a problem and I have no idea any more.
I am writing an application in .NET(C#) which should be able to create
appointments and update them using outlook automation.

microsoft.public.outlook.program_vba or microsoft.public.program_addins are
more appropriate newsgroups.
 
Back
Top