locked
CRM Dynamics Outlook Client Error 'Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException' RRS feed

  • Question

  • Error occurs when user is using the outlook client. User double clicks on a contact record and the popup window appears with the loading circle, then a timeout occurs. After first timeout when retry double clicking on record to open, popup window appears to flash open and close no loading circle. How do I fix this issue?

    NOTE: I replaced actual URL with {instance / _grid / OutlookRibbonContextGrid.aspx ? etn=Contact & ver =########} to get a since of URL do to not being able to post links or images.

    INTERNET EXPLORER VERSION: 11

    CRM VERSION:  Microsoft Dynamics CRM Online 2016 Update (8.1.1.1069)(DB 8.1.1.1069)

    OUTLOOK CLIENT VERSION:

    CRM 2016 for Outlook Client

    RTM

    8.0.0.1088

    Compatible

    ERROR IN TRACE FILE:Error invoking action on page {instance / _grid / OutlookRibbonContextGrid.aspx ? etn=Contact & ver =########}ContextState: Timeout.

    Exception: Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException: Exception of type 'Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException' was thrown

    I did visit the actual page and received the following..

    IE ERROR ALERT BOX:
    Line: 1
    Error: Object doesn't support property or method 'getParameter'

    CONSOLE:
    SCRIPT438: Object doesn't support property or method 'getParameter'
    File: gridcontrolforoutlook.js, Line: 1, Column: 2000

    ERROR ON METHOD:
    GetParameter:function(name){return getOutlookHostedWindow().getParameter(name)}
    name = "viewed"

    CRM OUTLOOK FULL TRACE FILE:

    # CRM Tracing Version 2.0
    # LocalTime: 2017-08-03 15:50:21.506
    # Categories: *:Error
    # CallStackOn: Yes
    # ComputerName:
    ComputerName
    # CRMVersion: 8.2.0.749

    [2017-08-03 15:50:21.506] Process:OUTLOOK |Organization:7907a31e-b913-40b7-9a13-f778a3566390 |Thread: 1 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: beed9050-0c59-4b79-ade4-0e1c44580e12 | <<ProxyInvokeSafe>b__7>d__b.MoveNext ilOffset = 0x1C4
    at <<ProxyInvokeSafe>b__7>d__b.MoveNext() ilOffset = 0x1C4
    at MoveNextRunner.InvokeMoveNext(Object stateMachine) ilOffset = 0xB
    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 MoveNextRunner.Run() ilOffset = 0x24
    at SynchronizationContextAwaitTaskContinuation.<.cctor>b__6(Object state) ilOffset = 0xB
    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 RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0x4A
    at Delegate.DynamicInvokeImpl(Object[] args) ilOffset = 0x2A
    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 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
    >Error invoking action on page {instance / _grid / OutlookRibbonContextGrid.aspx ? etn=Contact & ver =########}
    . ContextState: Timeout. Exception: Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException: Exception of type 'Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException' was thrown.
    at Microsoft.Crm.Application.Outlook.WebBrowser.CrmIePageContextBase.<>c__DisplayClass9.<<ProxyInvokeSafe>b__7>d__b.MoveNext()
    [2017-08-03 15:50:21.506] Process:OUTLOOK |Organization:7907a31e-b913-40b7-9a13-f778a3566390 |Thread: 1 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: beed9050-0c59-4b79-ade4-0e1c44580e12 | <>c__DisplayClass58.<ExecuteActionOutlookContext>b__56 ilOffset = 0x18
    at <>c__DisplayClass58.<ExecuteActionOutlookContext>b__56(Exception ex) ilOffset = 0x18
    at CrmIePageContextBase.CallUserExceptionHandlerSafe(Action`1 exceptionHandler, Exception exception) ilOffset = 0x3
    at <<ProxyInvokeSafe>b__7>d__b.MoveNext() ilOffset = 0x1E0
    at MoveNextRunner.InvokeMoveNext(Object stateMachine) ilOffset = 0xB
    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 MoveNextRunner.Run() ilOffset = 0x24
    at SynchronizationContextAwaitTaskContinuation.<.cctor>b__6(Object state) ilOffset = 0xB
    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 RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0x4A
    at Delegate.DynamicInvokeImpl(Object[] args) ilOffset = 0x2A
    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 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
    > Exception occurred handling the new inspector event.: Unhandled Exception: Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException: Exception of type 'Microsoft.Crm.Application.Outlook.WebBrowser.WebContextWaitCanceledException' was thrown.
    at Microsoft.Crm.Application.Outlook.WebBrowser.CrmIePageContextBase.<>c__DisplayClass9.<<ProxyInvokeSafe>b__7>d__b.MoveNext()ct




    Friday, August 4, 2017 3:35 PM