Menu

#1277 Sync fails every time

closed
Ronny
None
2021-06-09
2021-05-16
Scott
No

Sync fails every time. GCSM is up to date, Outlook 365 is up to date. No difference following a PC restart. No recent significant changes except usual Windows 10 and Office 365 updates.
Log below:

2021-05-16 17:12:48 DBG FillSyncFolderItems - start
2021-05-16 17:12:48 INF Loading Outlook folders...
2021-05-16 17:12:48 DBG CreateOutlookApplication (0x800401E3), number of started processes: 0
2021-05-16 17:12:49 DBG Connected to Outlook: Outlook_2016_or_2019_or_365
2021-05-16 17:12:54 DBG Exception
System.Runtime.InteropServices.COMException (0x80004005): The operation failed.
at Microsoft.Office.Interop.Outlook.NameSpaceClass.GetDefaultFolder(OlDefaultFolders FolderType)
at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in .\Synchronizer.cs:line 694
2021-05-16 17:12:54 ERR Could not connect to 'Microsoft Outlook'. Make sure Outlook 2003 or above version is installed and running.
2021-05-16 17:12:54 DBG Exception
System.NotSupportedException: Could not connect to 'Microsoft Outlook'. Make sure Outlook 2003 or above version is installed and running. ---> System.Runtime.InteropServices.COMException: The operation failed.
at Microsoft.Office.Interop.Outlook.NameSpaceClass.GetDefaultFolder(OlDefaultFolders FolderType)
at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in .\Synchronizer.cs:line 694
--- End of inner exception stack trace ---
at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in .\Synchronizer.cs:line 760
at GoContactSyncMod.SettingsForm.FillSyncFolderItems() in .\SettingsForm.cs:line 268
2021-05-16 17:12:54 ERR Sync failed.
2021-05-16 17:12:54 INF Reading version number from sf.net...
2021-05-16 17:12:54 DBG Loading settings folders...
2021-05-16 17:12:54 DBG Loading Google Appointments folders...
2021-05-16 17:12:54 INF Connecting to Google...
2021-05-16 17:12:55 INF GO Contact Sync Mod
2021-05-16 17:12:55 DBG Loaded Google Appointments folders
2021-05-16 17:12:55 DBG Loaded settings folders...
2021-05-16 17:12:55 DBG FillSyncFolderItems - finish
2021-05-16 17:12:55 DBG contactFoldersComboBox.SelectedIndex: -1
2021-05-16 17:12:55 DBG contactFoldersComboBox.Items.Count: 0
2021-05-16 17:12:55 DBG FillSyncFolderItems - start
2021-05-16 17:12:55 DBG Check version from ShowForm, oldState: Minimized, currentState: Normal
2021-05-16 17:12:55 INF Reading version number from sf.net...
2021-05-16 17:12:55 ERR At least one Outlook contact folder is not selected or invalid!
2021-05-16 17:12:55 DBG Exception
System.Exception: At least one Outlook contact folder is not selected or invalid!
at GoContactSyncMod.SettingsForm.Sync() in .\SettingsForm.cs:line 712
2021-05-16 17:12:55 ERR Sync failed.
2021-05-16 17:12:55 INF Reading version number from sf.net...
2021-05-16 17:12:57 INF Version of GCSM is uptodate.
2021-05-16 17:12:59 INF Version of GCSM is uptodate.

Related

Bugs: #1277

Discussion

  • Scott

    Scott - 2021-05-16

    Log file attached

     
  • Mike Cowlishaw

    Mike Cowlishaw - 2021-05-25

    I have a similar problem; this on Windows 7:

    2021-05-25 07:55:36 | Warning | Cannot connect to Google, please check for available internet connection and proxy settings if applicable: The remote server returned an error: (401) Unauthorized.
    { "error": { "code": 401, "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
    "status": "UNAUTHENTICATED"
    }
    }

     
  • Ronny

    Ronny - 2021-06-09

    Hi,

    this looks like a authentication / internet connection problem. Can you click on revoke authentication and authenticate against google again (@Mike)?

     

    Last edit: Ronny 2021-06-09
  • Mike Cowlishaw

    Mike Cowlishaw - 2021-06-09

    That worked. Many thanks!!

     
  • Ronny

    Ronny - 2021-06-09

    @Scott
    Did you try to uninstall office completely and reinstall it?

     
    • Scott

      Scott - 2021-06-09

      Hi Ronny,

      I've uninstalled GSM and updated to the latest version. I've also revoked
      and re-authenticated Google permissions. So far it seems to be working.

      Thanks,

      Scott

      On Wed, 9 Jun 2021, 18:47 Ronny, big-r@users.sourceforge.net wrote:

      @Scott
      Did you try to uninstall office completely and reinstall it?


      Status: open
      Created: Sun May 16, 2021 04:28 PM UTC by Scott
      Last Updated: Wed Jun 09, 2021 12:17 PM UTC
      Owner: nobody

      Sync fails every time. GCSM is up to date, Outlook 365 is up to date. No
      difference following a PC restart. No recent significant changes except
      usual Windows 10 and Office 365 updates.
      Log below:

      2021-05-16 17:12:48 DBG FillSyncFolderItems - start
      2021-05-16 17:12:48 INF Loading Outlook folders...
      2021-05-16 17:12:48 DBG CreateOutlookApplication (0x800401E3), number of
      started processes: 0
      2021-05-16 17:12:49 DBG Connected to Outlook: Outlook_2016_or_2019_or_365
      2021-05-16 17:12:54 DBG Exception
      System.Runtime.InteropServices.COMException (0x80004005): The operation
      failed.
      at
      Microsoft.Office.Interop.Outlook.NameSpaceClass.GetDefaultFolder(OlDefaultFolders
      FolderType)
      at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in
      .\Synchronizer.cs:line 694
      2021-05-16 17:12:54 ERR Could not connect to 'Microsoft Outlook'. Make
      sure Outlook 2003 or above version is installed and running.
      2021-05-16 17:12:54 DBG Exception
      System.NotSupportedException: Could not connect to 'Microsoft Outlook'.
      Make sure Outlook 2003 or above version is installed and running. --->
      System.Runtime.InteropServices.COMException: The operation failed.
      at
      Microsoft.Office.Interop.Outlook.NameSpaceClass.GetDefaultFolder(OlDefaultFolders
      FolderType)
      at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in
      .\Synchronizer.cs:line 694
      --- End of inner exception stack trace ---
      at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in
      .\Synchronizer.cs:line 760
      at GoContactSyncMod.SettingsForm.FillSyncFolderItems() in
      .\SettingsForm.cs:line 268
      2021-05-16 17:12:54 ERR Sync failed.
      2021-05-16 17:12:54 INF Reading version number from sf.net...
      2021-05-16 17:12:54 DBG Loading settings folders...
      2021-05-16 17:12:54 DBG Loading Google Appointments folders...
      2021-05-16 17:12:54 INF Connecting to Google...
      2021-05-16 17:12:55 INF GO Contact Sync Mod
      2021-05-16 17:12:55 DBG Loaded Google Appointments folders
      2021-05-16 17:12:55 DBG Loaded settings folders...
      2021-05-16 17:12:55 DBG FillSyncFolderItems - finish
      2021-05-16 17:12:55 DBG contactFoldersComboBox.SelectedIndex: -1
      2021-05-16 17:12:55 DBG contactFoldersComboBox.Items.Count: 0
      2021-05-16 17:12:55 DBG FillSyncFolderItems - start
      2021-05-16 17:12:55 DBG Check version from ShowForm, oldState: Minimized,
      currentState: Normal
      2021-05-16 17:12:55 INF Reading version number from sf.net...
      2021-05-16 17:12:55 ERR At least one Outlook contact folder is not
      selected or invalid!
      2021-05-16 17:12:55 DBG Exception
      System.Exception: At least one Outlook contact folder is not selected or
      invalid!
      at GoContactSyncMod.SettingsForm.Sync() in .\SettingsForm.cs:line 712
      2021-05-16 17:12:55 ERR Sync failed.
      2021-05-16 17:12:55 INF Reading version number from sf.net...
      2021-05-16 17:12:57 INF Version of GCSM is uptodate.
      2021-05-16 17:12:59 INF Version of GCSM is uptodate.
      ------------------------------

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/googlesyncmod/bugs/1277/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1277

  • Ronny

    Ronny - 2021-06-09
    • assigned_to: Ronny
     
    • Scott

      Scott - 2021-06-11

      Hi Ronny,

      Same thing occurred again this morning. Log attached. Any advice?

      Thanks,

      Scott

      From: Ronny big-r@users.sourceforge.net
      Sent: 09 June 2021 18:48
      To: [googlesyncmod:bugs] 1277@bugs.googlesyncmod.p.re.sourceforge.net
      Subject: [googlesyncmod:bugs] #1277 Sync fails every time

      • assigned_to: Ronny

      [bugs:#1277] https://sourceforge.net/p/googlesyncmod/bugs/1277/ Sync
      fails every time

      Status: open
      Created: Sun May 16, 2021 04:28 PM UTC by Scott
      Last Updated: Wed Jun 09, 2021 05:47 PM UTC
      Owner: Ronny

      Sync fails every time. GCSM is up to date, Outlook 365 is up to date. No
      difference following a PC restart. No recent significant changes except
      usual Windows 10 and Office 365 updates.
      Log below:

      2021-05-16 17:12:48 DBG FillSyncFolderItems - start
      2021-05-16 17:12:48 INF Loading Outlook folders...
      2021-05-16 17:12:48 DBG CreateOutlookApplication (0x800401E3), number of
      started processes: 0
      2021-05-16 17:12:49 DBG Connected to Outlook: Outlook_2016_or_2019_or_365
      2021-05-16 17:12:54 DBG Exception
      System.Runtime.InteropServices.COMException (0x80004005): The operation
      failed.
      at
      Microsoft.Office.Interop.Outlook.NameSpaceClass.GetDefaultFolder(OlDefaultFo
      lders FolderType)
      at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in
      .\Synchronizer.cs:line 694
      2021-05-16 17:12:54 ERR Could not connect to 'Microsoft Outlook'. Make sure
      Outlook 2003 or above version is installed and running.
      2021-05-16 17:12:54 DBG Exception
      System.NotSupportedException: Could not connect to 'Microsoft Outlook'. Make
      sure Outlook 2003 or above version is installed and running. --->
      System.Runtime.InteropServices.COMException: The operation failed.
      at
      Microsoft.Office.Interop.Outlook.NameSpaceClass.GetDefaultFolder(OlDefaultFo
      lders FolderType)
      at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in
      .\Synchronizer.cs:line 694
      --- End of inner exception stack trace ---
      at GoContactSyncMod.Synchronizer.CreateOutlookInstance() in
      .\Synchronizer.cs:line 760
      at GoContactSyncMod.SettingsForm.FillSyncFolderItems() in
      .\SettingsForm.cs:line 268
      2021-05-16 17:12:54 ERR Sync failed.
      2021-05-16 17:12:54 INF Reading version number from sf.net...
      2021-05-16 17:12:54 DBG Loading settings folders...
      2021-05-16 17:12:54 DBG Loading Google Appointments folders...
      2021-05-16 17:12:54 INF Connecting to Google...
      2021-05-16 17:12:55 INF GO Contact Sync Mod
      2021-05-16 17:12:55 DBG Loaded Google Appointments folders
      2021-05-16 17:12:55 DBG Loaded settings folders...
      2021-05-16 17:12:55 DBG FillSyncFolderItems - finish
      2021-05-16 17:12:55 DBG contactFoldersComboBox.SelectedIndex: -1
      2021-05-16 17:12:55 DBG contactFoldersComboBox.Items.Count: 0
      2021-05-16 17:12:55 DBG FillSyncFolderItems - start
      2021-05-16 17:12:55 DBG Check version from ShowForm, oldState: Minimized,
      currentState: Normal
      2021-05-16 17:12:55 INF Reading version number from sf.net...
      2021-05-16 17:12:55 ERR At least one Outlook contact folder is not selected
      or invalid!
      2021-05-16 17:12:55 DBG Exception
      System.Exception: At least one Outlook contact folder is not selected or
      invalid!
      at GoContactSyncMod.SettingsForm.Sync() in .\SettingsForm.cs:line 712
      2021-05-16 17:12:55 ERR Sync failed.
      2021-05-16 17:12:55 INF Reading version number from sf.net...
      2021-05-16 17:12:57 INF Version of GCSM is uptodate.
      2021-05-16 17:12:59 INF Version of GCSM is uptodate.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/googlesyncmod/bugs/1277/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1277

  • Ronny

    Ronny - 2021-06-09
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.