"Unknown error" when saving an appointmentitem to a public calendar

Add-in Express™ Support Service
That's what is more important than anything else

"Unknown error" when saving an appointmentitem to a public calendar
"Unknown error" when saving an appointmentitem to a public calendar 
Andrew Ashton




Posts: 1
Joined: 2008-02-14
I am hoping someone has come across this problem before and can offer some help.

I have created an Outlook Addin which occasionally throws an error. The error message is "Unknown error" and occurs on appointmentItem.save(). However this message only appears occasionally, most of the time the appointments are saved OK. I am working with a public calendar folder.

The addin works by firstly removing all appointmentItems with a certain ID, and then re-importing the new appointments (could be several hundred). I have noticed that occassionally although the appointments have been removed successfully, they still show in the public calendar folder, and only disappear when I come out of the calendar and go back in. I don't know if this has anything to do with the error.

Any help would be much appreciated...

Thanks
Andy
Posted 14 Feb, 2008 10:02:04 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Andrew.

I think the issue is that you don't release appointment interfaces using Marshal.ReleaseComObjects method. Please check it.
Posted 14 Feb, 2008 12:01:14 Top