Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Outlook
bcm
calendaring
contacts
fax
general
installation
interop
outlook
printing
program_addins
program_forms
program_vba
teamfolders
thirdpartyutil
  
 
date: Mon, 16 Jun 2008 05:36:47 -0700 (PDT),    group: microsoft.public.outlook.interop        back       


Error when trying to save an AppointmentItem corresponding to a cecurrent exception   
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
date: Mon, 16 Jun 2008 05:36:47 -0700 (PDT)   author:   unknown

Re: Error when trying to save an AppointmentItem corresponding to a cecurrent exception   
gchassigneux@gmail.com  wrote:

> 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]
date: Mon, 16 Jun 2008 18:49:57 -0400   author:   Brian Tillman

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us