locked
Error while Going Offline in Outlook Client CRM2011 time out error RRS feed

  • Question

  • hi 

    when the user clicks on the go offline.

    the user is getting the below exception in dialog box. 

    "timeout has expired and the operation has not been completed".

    i have checked his offline privileges and everything fine.

    i enabled trace. the trace log file shows the below i am not able to figure out the problem.

    Anyone know a definitive solution for this.....

    Failed to start MSDE=System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
    >   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
    >   at Microsoft.Crm.ClientSqlUtility.StartSqlService(TimeSpan maxWaitTimeSpan, String serviceName, String machineName)
    >   at Microsoft.Crm.Application.Outlook.OfflineSync.CleanUpMsde.TryStartMsde(Guid organizationId, Boolean synchronize, Boolean mountDB)
    [2013-12-18 14:54:41.175] Process:OUTLOOK |Organization:faf14f97-d44f-e011-9470-005056b00046 |Thread:   19(MSCRM:-OfflineSync.SyncThreadMethod) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | <>c__DisplayClassa.<TryFilterAllCatch>b__8  ilOffset = 0xC
    at <>c__DisplayClassa.<TryFilterAllCatch>b__8(Exception ex)  ilOffset = 0xC
    at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)  ilOffset = 0x34
    at CleanUpMsde.TryStartMsde(Guid organizationId, Boolean synchronize, Boolean mountDB)  ilOffset = 0x149
    at SyncData.ConfigureDatabase(Int32 orgLanguageId)  ilOffset = 0x34
    at SyncData.Sync(ITransferDataProvider transferDataProvider)  ilOffset = 0x87
    at OfflineSync.<SyncThreadMethod>b__0()  ilOffset = 0x84
    at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)  ilOffset = 0xF
    at OfflineSync.SyncThreadMethod()  ilOffset = 0x1D
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    > Exception occurred during OfflineSync.: Unhandled Exception: System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
       at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
       at Microsoft.Crm.ClientSqlUtility.StartSqlService(TimeSpan maxWaitTimeSpan, String serviceName, String machineName)
       at Microsoft.Crm.Application.Outlook.OfflineSync.CleanUpMsde.TryStartMsde(Guid organizationId, Boolean synchronize, Boolean mountDB)
       at Microsoft.Crm.Application.Outlook.OfflineSync.SyncData.ConfigureDatabase(Int32 orgLanguageId)
       at Microsoft.Crm.Application.Outlook.OfflineSync.SyncData.Sync(ITransferDataProvider transferDataProvider)
       at Microsoft.Crm.Application.SMWrappers.OfflineSync.<SyncThreadMethod>b__0()
       at Microsoft.ExceptionHelper.ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)

    [2013-12-18 14:54:41.180] Process:OUTLOOK |Organization:faf14f97-d44f-e011-9470-005056b00046 |Thread:   19(MSCRM:-OfflineSync.SyncThreadMethod) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | Utility.LogTraceException  ilOffset = 0x30
    at Utility.LogTraceException(Exception e)  ilOffset = 0x30
    at OfflineSync.<SyncThreadMethod>b__1(Exception ex)  ilOffset = 0x83
    at <>c__DisplayClassa.<TryFilterAllCatch>b__8(Exception ex)  ilOffset = 0xC
    at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)  ilOffset = 0x34
    at CleanUpMsde.TryStartMsde(Guid organizationId, Boolean synchronize, Boolean mountDB)  ilOffset = 0x149
    at SyncData.ConfigureDatabase(Int32 orgLanguageId)  ilOffset = 0x34
    at SyncData.Sync(ITransferDataProvider transferDataProvider)  ilOffset = 0x87
    at OfflineSync.<SyncThreadMethod>b__0()  ilOffset = 0x84
    at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)  ilOffset = 0xF
    at OfflineSync.SyncThreadMethod()  ilOffset = 0x1D
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    >Exception happened Time out has expired and the operation has not been completed..
    > Stack Trace Info:
    >    at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
    >   at Microsoft.Crm.ClientSqlUtility.StartSqlService(TimeSpan maxWaitTimeSpan, String serviceName, String machineName)
    >   at Microsoft.Crm.Application.Outlook.OfflineSync.CleanUpMsde.TryStartMsde(Guid organizationId, Boolean synchronize, Boolean mountDB)
    >   at Microsoft.Crm.Application.Outlook.OfflineSync.SyncData.ConfigureDatabase(Int32 orgLanguageId)
    >   at Microsoft.Crm.Application.Outlook.OfflineSync.SyncData.Sync(ITransferDataProvider transferDataProvider)
    >   at Microsoft.Crm.Application.SMWrappers.OfflineSync.<SyncThreadMethod>b__0()
    >   at Microsoft.ExceptionHelper.ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter) 
    [2013-12-18 14:54:41.180] Process:OUTLOOK |Organization:faf14f97-d44f-e011-9470-005056b00046 |Thread:   17(MSCRM:-DownloadStatus.RunUserInterfaceThread) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId:  | RuntimeMethodHandle.InvokeMethod  ilOffset = 0xFFFFFFFF
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x17
    at Delegate.DynamicInvokeImpl(Object[] args)  ilOffset = 0x24
    at Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)  ilOffset = 0xCF
    at Control.InvokeMarshaledCallbackHelper(Object obj)  ilOffset = 0x20
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at Control.InvokeMarshaledCallback(ThreadMethodEntry tme)  ilOffset = 0x4F
    at Control.InvokeMarshaledCallbacks()  ilOffset = 0x63
    at Control.WndProc(Message& m)  ilOffset = 0x64A
    at ScrollableControl.WndProc(Message& m)  ilOffset = 0x41
    at ContainerControl.WndProc(Message& m)  ilOffset = 0x1A
    at Form.WndProc(Message& m)  ilOffset = 0x27F
    at ControlNativeWindow.OnMessage(Message& m)  ilOffset = 0xC
    at ControlNativeWindow.WndProc(Message& m)  ilOffset = 0x9A
    at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)  ilOffset = 0x25
    at UnsafeNativeMethods.DispatchMessageW(MSG& msg)  ilOffset = 0xFFFFFFFF
    at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)  ilOffset = 0x235
    at ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)  ilOffset = 0x1DE
    at ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)  ilOffset = 0x13
    at Application.RunDialog(Form form)  ilOffset = 0x11
    at Form.ShowDialog(IWin32Window owner)  ilOffset = 0x261
    at Form.ShowDialog()  ilOffset = 0x0
    at OutlookUIHelper.ShowDialog(Form form)  ilOffset = 0x8
    at DownloadStatus.RunUserInterfaceThread()  ilOffset = 0x7
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    >Time out has expired and the operation has not been completed.
    [2013-12-18 14:54:41.290] Process:OUTLOOK |Organization:faf14f97-d44f-e011-9470-005056b00046 |Thread:   17(MSCRM:-DownloadStatus.RunUserInterfaceThread) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId:  | DownloadStatus.ShowError  ilOffset = 0x4E
    at DownloadStatus.ShowError(String description, Boolean showForm)  ilOffset = 0x4E
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x17
    at Delegate.DynamicInvokeImpl(Object[] args)  ilOffset = 0x24
    at Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)  ilOffset = 0xCF
    at Control.InvokeMarshaledCallbackHelper(Object obj)  ilOffset = 0x20
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at Control.InvokeMarshaledCallback(ThreadMethodEntry tme)  ilOffset = 0x4F
    at Control.InvokeMarshaledCallbacks()  ilOffset = 0x63
    at Control.WndProc(Message& m)  ilOffset = 0x64A
    at ScrollableControl.WndProc(Message& m)  ilOffset = 0x41
    at ContainerControl.WndProc(Message& m)  ilOffset = 0x1A
    at Form.WndProc(Message& m)  ilOffset = 0x27F
    at ControlNativeWindow.OnMessage(Message& m)  ilOffset = 0xC
    at ControlNativeWindow.WndProc(Message& m)  ilOffset = 0x9A
    at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)  ilOffset = 0x25
    at UnsafeNativeMethods.DispatchMessageW(MSG& msg)  ilOffset = 0xFFFFFFFF
    at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)  ilOffset = 0x235
    at ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)  ilOffset = 0x1DE
    at ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)  ilOffset = 0x13
    at Application.RunDialog(Form form)  ilOffset = 0x11
    at Form.ShowDialog(IWin32Window owner)  ilOffset = 0x261
    at Form.ShowDialog()  ilOffset = 0x0
    at OutlookUIHelper.ShowDialog(Form form)  ilOffset = 0x8
    at DownloadStatus.RunUserInterfaceThread()  ilOffset = 0x7
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    >DownloadState is changed: NewState = ErrorOccurred, OldState=Running
    [2013-12-18 14:54:41.315] Process:OUTLOOK |Organization:faf14f97-d44f-e011-9470-005056b00046 |Thread:   19(MSCRM:-OfflineSync.SyncThreadMethod) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId:  | SyncData.Sync  ilOffset = 0x19F
    at SyncData.Sync(ITransferDataProvider transferDataProvider)  ilOffset = 0x19F
    at OfflineSync.<SyncThreadMethod>b__0()  ilOffset = 0x84
    at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)  ilOffset = 0xF
    at OfflineSync.SyncThreadMethod()  ilOffset = 0x1D
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    >SyncData failed. totalDataSizeInBytes=0, totalInsertRows=0, totalDeleteRows=0
    [2013-12-18 14:54:41.320] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread:   19(MSCRM:-OfflineSync.SyncThreadMethod) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId:  | CounterList.TraceOrderedInstanceXml  ilOffset = 0x25
    at CounterList.TraceOrderedInstanceXml()  ilOffset = 0x25
    at CounterList.Dispose()  ilOffset = 0xC
    at SyncData.Sync(ITransferDataProvider transferDataProvider)  ilOffset = 0x1B8
    at OfflineSync.<SyncThreadMethod>b__0()  ilOffset = 0x84
    at ExceptionFilter.TryFilterAllCatch(Action body, Action`1 filter)  ilOffset = 0xF
    at OfflineSync.SyncThreadMethod()  ilOffset = 0x1D
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    ><CounterList Name="Sync" TotalTimeMSec="187811.9316"><Counter Name="ConfigureDatabase()" TotalTimeMSec="180296.7813" PercentFromTotal="96" /><Counter Name="ReportStatistics()" TotalTimeMSec="5.0001" PercentFromTotal="0" /></CounterList>
    [2013-12-18 14:54:41.325] Process:OUTLOOK |Organization:faf14f97-d44f-e011-9470-005056b00046 |Thread:   14(MSCRM:-OfflineSyncManager.BackgroundSyncMethod) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId:  | OfflineSyncManager.BackgroundSyncMethod  ilOffset = 0x28D
    at OfflineSyncManager.BackgroundSyncMethod()  ilOffset = 0x28D
    at ThreadHelper.ThreadStart_Context(Object state)  ilOffset = 0x3B
    at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x9
    at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  ilOffset = 0x34
    at ThreadHelper.ThreadStart()  ilOffset = 0x2A
    >Completed Sync user data into MSDE.

    \\Prasu



     
    • Edited by ani prasu Thursday, December 19, 2013 9:57 AM
    Thursday, December 19, 2013 9:55 AM

All replies

  • Hi Ani,

    Did you ever solve this issue? I have exactly the same error log.

    Your help is appreciated.

    Raul

    Thursday, August 18, 2016 4:27 AM