Error when trying to save an AppointmentItem corresponding to acecurrent exception

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
 
B

Brian Tillman

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.
 

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