[GH-ISSUE #284] System.Runtime.InteropServices.COMException (0x80004005) #1176

Closed
opened 2026-03-14 00:33:11 +03:00 by kerem · 1 comment
Owner

Originally created by @talvdav on GitHub (Sep 17, 2020).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/284

Hi,
when i try to sync my Nextcloud Calendar (self hostet) the sync works fine the first time for the Calendar but every other sync it errors out with this error:

System.Runtime.InteropServices.COMException (0x80004005): Schlüsselwörter für den Inhaltsindex können für die Einschränkung nicht verwendet werden. Die Sofortsuche ist für diesen Speicher nicht aktiviert.
   at Microsoft.Office.Interop.Outlook.MAPIFolder.GetTable(Object Filter, Object TableContents)
   at CalDavSynchronizer.Implementation.Common.QueryOutlookFolderByGetTableStrategy.CalDavSynchronizer.Implementation.Common.IQueryOutlookAppointmentItemFolderStrategy.QueryAppointmentFolder(IOutlookSession session, Folder calendarFolder, String filter, IGetVersionsLogger logger)
   at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.GetAll(IEnumerable`1 idsOfknownEntities, IEventSynchronizationContext context, IGetVersionsLogger logger)
   at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.<GetAllVersions>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GenSync.EntityRepositories.VersionAwareToStateAwareEntityRepositoryAdapter`4.<GetFullRepositoryState>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GenSync.Synchronization.Synchronizer`11.<Synchronize>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GenSync.Synchronization.ContextCreatingSynchronizerDecorator`7.<Synchronize>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CalDavSynchronizer.Scheduling.SynchronizationProfileRunner.<RunAndRescheduleNoThrow>d__22.MoveNext()

Contacts error out always with the same error.

Microsoft Office Home and Business 2019
outlookcaldavsynchronizer version 3.8.2
Nextcloud version 19.0.3

Originally created by @talvdav on GitHub (Sep 17, 2020). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/284 Hi, when i try to sync my Nextcloud Calendar (self hostet) the sync works fine the first time for the Calendar but every other sync it errors out with this error: ``` System.Runtime.InteropServices.COMException (0x80004005): Schlüsselwörter für den Inhaltsindex können für die Einschränkung nicht verwendet werden. Die Sofortsuche ist für diesen Speicher nicht aktiviert. at Microsoft.Office.Interop.Outlook.MAPIFolder.GetTable(Object Filter, Object TableContents) at CalDavSynchronizer.Implementation.Common.QueryOutlookFolderByGetTableStrategy.CalDavSynchronizer.Implementation.Common.IQueryOutlookAppointmentItemFolderStrategy.QueryAppointmentFolder(IOutlookSession session, Folder calendarFolder, String filter, IGetVersionsLogger logger) at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.GetAll(IEnumerable`1 idsOfknownEntities, IEventSynchronizationContext context, IGetVersionsLogger logger) at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.<GetAllVersions>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GenSync.EntityRepositories.VersionAwareToStateAwareEntityRepositoryAdapter`4.<GetFullRepositoryState>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GenSync.Synchronization.Synchronizer`11.<Synchronize>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GenSync.Synchronization.ContextCreatingSynchronizerDecorator`7.<Synchronize>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CalDavSynchronizer.Scheduling.SynchronizationProfileRunner.<RunAndRescheduleNoThrow>d__22.MoveNext() ``` Contacts error out always with the same error. Microsoft Office Home and Business 2019 outlookcaldavsynchronizer version 3.8.2 Nextcloud version 19.0.3
kerem closed this issue 2026-03-14 00:33:16 +03:00
Author
Owner

@aluxnimm commented on GitHub (Sep 23, 2020):

Can you try with general option "Use fast queries for Outlook folders" disabled?
What Outlook profile type are you using? imap account, exchange or local data pst file? You have some issue with the data storage and search indexing.

<!-- gh-comment-id:697221836 --> @aluxnimm commented on GitHub (Sep 23, 2020): Can you try with general option "Use fast queries for Outlook folders" disabled? What Outlook profile type are you using? imap account, exchange or local data pst file? You have some issue with the data storage and search indexing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#1176
No description provided.