(Msg. 1) Posted: Mon Jun 16, 2008 5:36 am
Post subject: Error when trying to save an AppointmentItem corresponding to a Archived from groups: microsoft>public>outlook>interop (more info?)
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 ?
(Msg. 2) Posted: Mon Jun 16, 2008 6:49 pm
Post subject: Re: Error when trying to save an AppointmentItem corresponding to a cecurrent exception [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
> 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.
--
Brian Tillman [MVP-Outlook]
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