J
Janani
Hi,
I am working on a plug-in for Outlook 2003 developed in .NET 2.0 using C#. I
have added a tab in the existing appointment form with a Delete check box
which will be used to update the database. When the user clicks the Save &
Close button on the appointment item, the database will be updated with the
value of the Delete check box and the appointment will be deleted from
Outlook using 'appointment.Delete()'.
The appointment is deleted from Outlook but however I receive the following
error message: 'Could not complete the operation. One or more parameter
values are not valid'. The error occurs when there are no invitees (other
than the organizer) for the appointment. Also if invitees are added to the
appointment and the appointment is deleted, the error message occurs when the
user doesn't send a cancellation message to the attendees. When there are
invitees and cancellation messages are being sent to the invitees when the
Save & Close button is clicked, the error message is not thrown.
I am unable to debug and figure out what causes the error as the error
message is not being thrown by the code. Any help on this would be greatly
appreciated!!!
I am working on a plug-in for Outlook 2003 developed in .NET 2.0 using C#. I
have added a tab in the existing appointment form with a Delete check box
which will be used to update the database. When the user clicks the Save &
Close button on the appointment item, the database will be updated with the
value of the Delete check box and the appointment will be deleted from
Outlook using 'appointment.Delete()'.
The appointment is deleted from Outlook but however I receive the following
error message: 'Could not complete the operation. One or more parameter
values are not valid'. The error occurs when there are no invitees (other
than the organizer) for the appointment. Also if invitees are added to the
appointment and the appointment is deleted, the error message occurs when the
user doesn't send a cancellation message to the attendees. When there are
invitees and cancellation messages are being sent to the invitees when the
Save & Close button is clicked, the error message is not thrown.
I am unable to debug and figure out what causes the error as the error
message is not being thrown by the code. Any help on this would be greatly
appreciated!!!