I had to reset matches for appointment syncing. After doing that I started getting this error. I found (for a while) that if set Months (Future) to 1 then things were ok, but now whatever the offending issue is must be within that 1 month window so I'm getting the error again. I am using GCSM 4.1.33 on a Windows 10 Pro computer. Outlook is open and I have good internet connection. Here's what shows in the log screen - note that there is no "C\Users\saller" folder on my device and there never has been.
2023-10-04 06:39:52 | Information | Syncing appointments...
2023-10-04 06:40:25 | Warning | Outlook exception, please assure that Outlook is running and not closed when syncing: Could not open the item. Try again.
at Microsoft.Office.Interop.Outlook.NameSpaceClass.GetFolderFromID(String EntryIDFolder, Object EntryIDStore)
at GoContactSyncMod.Synchronizer.CreateOutlookAppointmentItem(String syncAppointmentsFolder) in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\Synchronizer.cs:line 4791
at GoContactSyncMod.Synchronizer.RecreateOutlookAppointment(AppointmentMatch& match) in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\Synchronizer.cs:line 2833
at GoContactSyncMod.AppointmentsMatcher.SyncAppointmentNoOutlook(AppointmentMatch match, Synchronizer sync) in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\AppointmentsMatcher.cs:line 409
at GoContactSyncMod.AppointmentsMatcher.SyncAppointment(AppointmentMatch match, Synchronizer sync) in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\AppointmentsMatcher.cs:line 621
at GoContactSyncMod.AppointmentsMatcher.SyncAppointments(Synchronizer sync) in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\AppointmentsMatcher.cs:line 263
at GoContactSyncMod.Synchronizer.Sync() in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\Synchronizer.cs:line 2480
at GoContactSyncMod.SettingsForm.<sync_threadstarter>d__106.MoveNext() in C:\Users\saller\Source\googlesyncmod\trunk\GoogleContactsSync\SettingsForm.cs:line 982</sync_threadstarter>
I suspected that the issue was a recurring appointment on the Outlook side, so I selectively tried deleting recurring appointments within the offending time window (1 month) and then running GCSM again. That has worked and it's running fine again now for 1 month Future. I do not know what was different about the appointment I deleted, so unfortunately I can't help with more data on that.
Then I set Future to 10 months and ran GCSM and got the same error, so there are obviously multiple offending recurring meetings that are causing this error. I believe that the issue stems from the original match reset because I was fine up until then for many years of use.
Last edit: Alden Zecha 2023-10-08
I went thru every recurring appointment on both the Outlook and Google sides and found the offending appointment. A weekly meeting which was created in Outlook and originally set for "no end date" was changed about 5 months ago. The change (made in Outlook) was to set an end date for May 2023. Outlook looked fine. However somehow the weekly appointment was recreated starting in November 2023, but only on the Google side.
Since everything worked ok before the "reset matches", and it didn't after that I suspect that somehow the reset matches (done in Sept 2023 and long after the May 2023 change to the appointment recurrence) created this "ghost" meeting where the end date (May 2023) was before the meeting date (Nov 2023). Once I found that on the Google side and deleted it, GCSM runs fine again.
Thus the issue seems related to the reset matches.
The issue has resolved itself. My guess is that there was one or more offending recurring appointments and they are now far enough in the past that they are no longer in the sync range so are not an issue.