none
Cannot send this meeting request. The property does not exist. The field you want to modify is not valid for this type of item. (With reproduction scenario/code)

    Question

  • This code below causes the error dialog box to come up with "Cannot send this meeting request.  The property does not exist...".  in Outlook 2007

    Steps to reproduce:

    1. Open the Outlook 2007 calendar.
    2. In tomorrow's date, create a recurring appointment.  The appointment should include subect and location.
    3. Click on "recurrence"
    4. Select "Daily" for the recurrence pattern
    5. Select "End after 10 days" for the range of recurrence
    6. Click on "OK"
    7. Click on "Invite Attendees" and include yourself in the attendee list.
    8. Click "Save&Close"
    9. Double click the appointment in the calendar and select "open the series"
    10. Edit "subject" or "location" and click on "Send Update".
    11. Repeat steps 9 and 10 until error occurs, it should occur after one or two attempts.

    What is going wrong?  How do I fix this?   Thanks, 

       public partial class ThisAddIn
        {
            private Outlook.Folder m_calendarFolder = null;
            private Outlook.Items m_calendarItems = null;
    
            private void ThisAddIn_Startup(object sender, System.EventArgs e)
            {
                m_calendarFolder = (Outlook.Folder)Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar);
              
                m_calendarItems = m_calendarFolder.Items; 
                m_calendarItems.ItemAdd += new Microsoft.Office.Interop.Outlook.ItemsEvents_ItemAddEventHandler(m_calendarItems_ItemAdd);  
            }
    
    
            void m_calendarItems_ItemAdd(object Item)
            {
                DateTime startDate = DateTime.Now;
                DateTime endDate = DateTime.Now.AddDays(14);
                string filter =
         String.Format("[Start] >= \"{0}\" AND [Start] <= \"{1}\"", startDate.ToShortDateString(), endDate.ToShortDateString());
    
                m_calendarFolder.Items.IncludeRecurrences = true;
    
                Outlook.Items listItems = m_calendarFolder.Items.Restrict(filter) as Outlook.Items;
    
                if (listItems != null)
                {
                    Outlook.AppointmentItem apptItem = null;
    
                    apptItem = (Outlook.AppointmentItem)listItems.GetFirst();
    
                    while (apptItem != null)
                    {
                        try
                        {
                            if (apptItem.IsRecurring)
                            {
                                Outlook.RecurrencePattern pattern = apptItem.GetRecurrencePattern();
                                DateTime date = new DateTime(startDate.Year, startDate.Month, startDate.Day, apptItem.Start.Hour, apptItem.Start.Minute, apptItem.Start.Second);
                                while (date <= endDate)
                                {
                                    //Unfortunately the GetOccurence function throws an exception if the date passed in
                                    //does not match the exact date and time of an appointment within the pattern series. 
                                    try
                                    {
                                        Outlook.AppointmentItem recurrenceItem = pattern.GetOccurrence(date);
                                        if (recurrenceItem != null)
                                        {
    
                                        }
                                    }
                                    catch (Exception e)
                                    {
    
                                    }
    
                                    date = date.AddDays(1);
                                }
                            }
                        }
                        catch (Exception e)
                        {
    
                        }
                        apptItem = (Outlook.AppointmentItem)listItems.GetNext();
                    }
                }
            }
     
          
            private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
            {
            }
    
            #region VSTO generated code
    
            /// <summary>
            /// Required method for Designer support - do not modify
            /// the contents of this method with the code editor.
            /// </summary>
            private void InternalStartup()
            {
                this.Startup += new System.EventHandler(ThisAddIn_Startup);
                this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
            }
            
            #endregion
        }

    Thursday, February 23, 2012 7:43 PM

Answers

  • Hi alexkfh,

    I think this issue has been fixed in the version which you mentioned. I'm wondering whether you iterated the date which has on recurrent meeting on it. Please recheck it in your schedule.

    Have  a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Monday, February 27, 2012 4:31 AM

All replies

  • Hi alexkfh,

    Thanks for posting in the MSDN Forum.

    Would you please tell me your Outlook version like 12.0.****.****? It seems a known issue which has been fixed in later version.

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Friday, February 24, 2012 4:33 AM
  • Outlook 2007 (12.0.6607.1000) SP3 MSO (12.0.6607.1000)

    Is there a hotfix for this?   If so can you send me the link? 

    Thanks,

    Friday, February 24, 2012 1:45 PM
  • Hi alexkfh,

    I think this issue has been fixed in the version which you mentioned. I'm wondering whether you iterated the date which has on recurrent meeting on it. Please recheck it in your schedule.

    Have  a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Monday, February 27, 2012 4:31 AM
  • Hi alexkfh,

    Any Update?

    Have a good day,

    tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, February 29, 2012 1:40 AM
  • Hi alexkfh,

    I will close this thread due to no more feed up from you. If you feel my reply can't help you, please feel free to unmark it.

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, March 01, 2012 1:24 AM
  • Hi Tom,

    I was out of the office so I wasn't able to get around to this until now. 

    Can you clarify what is meant by "I'm wondering whether you iterated the date which has on recurrent meeting on it. Please recheck it in your schedule."

    I'm not sure what is meant by "iterated the date".   Thanks,

    Alex

    Thursday, March 01, 2012 3:52 AM
  •  All,

    I am experiencing the exact issue with the steps outlined in this forum. Office 2007 SP3.  From what I can tell It's seems to only happen when the user tries to update a reccuring meeting.  When they go to update the meeting attendees(add or remove) and they click send update, the error pops up

    "Cannot send this meeting request. The property does not exist. The field you want to modify is not valid for this type of item"

    One this I noticed was when this error appears it prevents the "send updates to added or removed attendees only" diaglog box from appearing. The meeting goes out but it goes to everyone,  and not just the updated or removed attendees.  This issue can be reproduced by doesn't occur everytime and it seems to be only occuring for one person. I tried re-installing Office 2007 in case it was the client.

    I found an article on hidden attachments and removing them with a tool called MFCMapi.  When I use the tool I can see that there is some kind of embedded attachment which I can remove. This does seem to fix the issue but this is not a practical solution since it is occuring on new appointments.

    Any suggestions would be much appreciated. 

    Tuesday, March 06, 2012 8:53 PM