none
[14.0.0.0][EWS][C#][Windows]:An internal server error occurred on sync RRS feed

  • Question

  • Exchange Version: 14.0.0.0
    API Name: SyncFolderHierarchy, SyncFolderItems
    Targeted features: synchronization emails and folders with exchange server
    Scenario description: create a object of ExchangeService with:
    ExchangeVersion.Exchange2010_SP1
    EnableScpLookup = false,
    TraceEnabled = true,
    Credentials = new WebCredentials(_exchangeEmail, _exchangePassword)
    using AutodiscoverUrl for get account url
    Call SyncFolderHierarchy/SyncFolderItems for sync and get a error message (time to time on different folders)
    Other Considerations:
    I sync with exchange server using EWS API (sending about 7 requests one after another every 30 sec), and sometimes get an error (typically, once in 5 min two full syncs succeed, other failed):
    - folders sync:
     Microsoft.Exchange.WebServices.Data.ServiceResponseException: An internal server error occurred. Try again later.
       at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
       at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
       at Microsoft.Exchange.WebServices.Data.ExchangeService.SyncFolderHierarchy(FolderId syncFolderId, PropertySet propertySet, String syncState)
    -folder items sync:
    Microsoft.Exchange.WebServices.Data.ServiceResponseException: An internal server error occurred. Try again later.
       at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
       at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
       at Microsoft.Exchange.WebServices.Data.ExchangeService.SyncFolderItems(FolderId syncFolderId, PropertySet propertySet, IEnumerable`1 ignoredItemIds, Int32 maxChangesReturned, SyncFolderItemsScope syncScope, String syncState)
    These errors started to show up several days ago, before that all was working.
    Please can you help me with it? Maybe something was changed in exchange or something else?
    Monday, January 28, 2013 8:46 AM