The Outlook calendar 'Calendar' previously configured for syncing is no longer available
See original GitHub issueChecklist:-
OGCS Version: v2.8.4
Edition: Portable
Sync Direction: O->G
Bug Description
I got the following error after rebooting my WIN10 laptop
"The Outlook calendar ‘Calendar’ previously configured for syncing is no longer available.
‘Calendar’ calendar has been selected instead and any automated syncs have been temporarily disabled."
Steps to Reproduce the Issue
- Doble click on OutlookGoogleCalendarSync.exe
- Application starts, shows the error, then crashes and got closed
Any other information
Any additional information that may help troubleshoot the issue.
📎 Attach your OGcalsync.log
file.
Last records from the log. Exactly when application stared to crash
2020-06-28 16:15:29,383 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Disconnecting from Outlook application.
2020-06-28 16:15:31,867 DEBUG 15 OutlookGoogleCalendarSync.Forms.Splash [0] - Disposed of splash screen.
2020-06-28 16:16:15,195 WARN 1 OutlookGoogleCalendarSync.Program [0] - Tidying down any remaining Outlook references, as OGCS crashed out.
2020-06-28 16:16:15,199 WARN 1 OutlookGoogleCalendarSync.OutlookOgcs.Calendar [0] - No Outlook process available to attach to.
2020-06-28 16:16:15,199 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.Calendar [0] - Starting a new instance of Outlook.
2020-06-28 16:16:17,196 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Setting up Outlook connection.
2020-06-28 16:16:17,223 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Exchange server version: 15.20.3131.26
2020-06-28 16:16:17,223 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Exchange connection mode: olCachedDisconnected
2020-06-28 16:16:18,229 WARN 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - >1s delay possibly due to Outlook security popup.
2020-06-28 16:16:18,229 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Getting active window inspector
2020-06-28 16:16:18,245 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Done.
2020-06-28 16:16:18,478 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Get the folders configured in Outlook
2020-06-28 16:16:18,480 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Finding default Mailbox calendar folders
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TabPage'.
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - Code: 0x80131622;-2146232798
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.CreateGraphicsInternal()
at System.Windows.Forms.Control.CreateGraphics()
at OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew.findCalendars(Folders folders, Dictionary`2 calendarFolders, String excludeDeletedFolder, MAPIFolder defaultCalendar)
at OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew.getDefaultCalendar(NameSpace oNS, MAPIFolder& defaultCalendar)
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TabPage'.
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - Code: 0x80131622;-2146232798
2020-06-28 16:16:18,496 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.Calendar [0] - It appears Outlook has been restarted after OGCS was started. Reconnecting...
2020-06-28 16:16:18,496 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.Calendar [0] - Attaching to the already running Outlook process.
2020-06-28 16:16:18,496 WARN 1 OutlookGoogleCalendarSync.OutlookOgcs.Calendar [0] - Attachment failed.
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TabPage'.
2020-06-28 16:16:18,496 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - Code: 0x80131622;-2146232798
2020-06-28 16:16:18,496 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.Calendar [0] - Starting a new instance of Outlook.
2020-06-28 16:16:18,962 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Setting up Outlook connection.
2020-06-28 16:16:18,962 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Exchange server version: 15.20.3131.26
2020-06-28 16:16:18,962 INFO 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Exchange connection mode: olCachedConnectedFull
2020-06-28 16:16:19,182 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Getting active window inspector
2020-06-28 16:16:19,184 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Done.
2020-06-28 16:16:19,480 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Get the folders configured in Outlook
2020-06-28 16:16:19,480 DEBUG 1 OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew [0] - Finding default Mailbox calendar folders
2020-06-28 16:16:19,497 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TabPage'.
2020-06-28 16:16:19,507 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - Code: 0x80131622;-2146232798
2020-06-28 16:16:19,507 ERROR 1 OutlookGoogleCalendarSync.OGCSexception [0] - at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.CreateGraphicsInternal()
at System.Windows.Forms.Control.CreateGraphics()
at OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew.findCalendars(Folders folders, Dictionary`2 calendarFolders, String excludeDeletedFolder, MAPIFolder defaultCalendar)
at OutlookGoogleCalendarSync.OutlookOgcs.OutlookNew.getDefaultCalendar(NameSpace oNS, MAPIFolder& defaultCalendar)
2020-06-28 16:16:19,507 WARN 1 OutlookGoogleCalendarSync.OGCSexception [0] - Could not disconnect from Outlook.
2020-06-28 16:16:19,507 FAIL 1 OutlookGoogleCalendarSync.OGCSexception [0] - System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TabPage'.
2020-06-28 16:16:19,507 FAIL 1 OutlookGoogleCalendarSync.OGCSexception [0] - Code: 0x80131622;-2146232798
2020-06-28 16:16:19,524 INFO 1 OutlookGoogleCalendarSync.Program [0] - Application closed.
Thanks in advance for your support
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to enable and disable the Outlook calendar sharing ...
Calendars have already been shared with you · Calendars have not yet been shared with you · Turn on shared calendar updates ·...
Read more >Can't sync calendar and contacts with my phone or tablet
Go to the Calendar in the Outlook app and tap the three lines in the upper left-hand corner. · Under your email accounts,...
Read more >No Outlook calendars are showing in the Select ...
Outlook troubleshooting: No Outlook calendars are showing in the Select calendars to sync step · Quit and reboot connector · Check permission ...
Read more >Why is my calendar not syncing with iPhone outlook?
To do that, go to Settings on the iPhone, select "calendar" and then choose "accounts." From there, select Outlook.
Read more >Calendar Power-up not syncing with Outlook 365
I just removed the calendars that were not syncing and re-added each one through Outlook via Microsoft 365 on the web, and following...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello @phw198 , yes I can confirm that issue was resolved by upgrading to v2.8.4
Regards
@gabrielmt-ven No worries - thanks for the clarification; can confirm this was a bug fixed in v2.8.4.