web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Unified Service Desk 4.2 crash

(0) ShareShare
ReportReport
Posted on by 15

Has anyone seen this error before?  USD 4.2 immediately crashed after user login.  

Application: UnifiedServiceDesk.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException    at System.String.wcslen(Char*)    at System.String.CtorCharPtr(Char*)    at CefSharp.Core.CefSettingsBase.get_BrowserSubprocessPath()  Exception Info: System.Reflection.TargetInvocationException    at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])    at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)    at System.Web.SecurityUtils.MethodInfoInvoke(System.Reflection.MethodInfo, System.Object, System.Object[])    at System.Web.Script.Serialization.JavaScriptSerializer.SerializeCustomObject(System.Object, System.Text.StringBuilder, Int32, System.Collections.Hashtable, SerializationFormat)    at System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(System.Object, System.Text.StringBuilder, Int32, System.Collections.Hashtable, SerializationFormat, System.Reflection.MemberInfo)    at System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(System.Object, System.Text.StringBuilder, Int32, System.Collections.Hashtable, SerializationFormat, System.Reflection.MemberInfo)    at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(System.Object, System.Text.StringBuilder, SerializationFormat)    at System.Web.Script.Serialization.JavaScriptSerializer.Serialize(System.Object, SerializationFormat)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.ChromiumBrowserControl.InitCef(Boolean)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.ChromiumBrowserControl..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControlComboboxItem2..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String, System.String)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControlComboboxItems.GenericWebBrowserComboboxItem2..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String, System.String)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.GenericWebBrowserPresenterControl.SetActiveBrowser(System.String)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.GenericWebBrowserPresenterControl.Navigate(System.String, System.String, Byte[], System.String)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.SingleSignOnControl.SingleSignOnControl.NavigateToAuthenticate()    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.SingleSignOnControl.SingleSignOnControl.DesktopReady()    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsBaseHostedControl.CRMWindowRouter_DesktopReady(System.Object, System.EventArgs)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsBaseHostedControl.Initialize()    at Microsoft.Uii.Csr.ApplicationHost.InitializeApplications(Microsoft.Uii.Csr.IHostedApplication)    at Microsoft.Crm.UnifiedServiceDesk.Services.UsdDesktopBase.CreateDynamicApplication(Microsoft.Uii.Common.Entities.ApplicationRecord)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMGlobalManager+<>c__DisplayClass159_0.<LoadSingleSignOnIfEnabled>b__0()    at System.Windows.Threading.Dispatcher.Invoke(System.Action, System.Windows.Threading.DispatcherPriority, System.Threading.CancellationToken, System.TimeSpan)    at System.Windows.Threading.Dispatcher.Invoke(System.Action)    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMGlobalManager.LoadSingleSignOnIfEnabled()    at Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMGlobalManager.<DesktopReadyProcess>b__155_0()    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)    at System.Windows.Threading.DispatcherOperation.InvokeImpl()    at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)    at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)    at System.Windows.Threading.DispatcherOperation.Invoke()    at System.Windows.Threading.Dispatcher.ProcessQueue()    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)    at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)    at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)    at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)    at System.Windows.Window.ShowHelper(System.Object)    at System.Windows.Window.ShowDialog()    at Microsoft.Practices.CompositeUI.Windows.WindowShellApplication`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start()    at Microsoft.Practices.CompositeUI.CabApplication`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Run()    at Microsoft.Uii.Csr.AifWpfShellBase`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].StartApplication()    at Microsoft.Crm.UnifiedServiceDesk.Utility.AgentDesktopBootManager.LoadAgentDesktop()    at Microsoft.Crm.UnifiedServiceDesk.Program.DoUiiConnectCheck()    at Microsoft.Crm.UnifiedServiceDesk.Program.Main()  

I have the same question (0)
  • Esteban Coto Alfaro Profile Picture
    on at

    Hello, I recommend you to check the log files, here is an example about how to create log files: neilparkhurst.com/.../

    And also, here I attach the documentation about how to configure the sign in info: docs.microsoft.com/.../connect-dynamics-365-instance-using-unified-service-desk-client

    I hope it helps!

    Thanks!

    Community Support Team - Esteban

    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

  • Andrea Rossini Profile Picture
    on at

    It is crash, an access violation, he probably got the error from the Event Viewer. And since the USD process terminated abruptly it is impossible to know what happened with accuracy. Anyway, my last lines of logs are these:

    Microsoft.Crm.UnifiedServiceDesk.Dynamics Verbose 16 24/11/2021 10:25:25  ChromiumBrowserControl: cachePath(): The cache path will be set based on the value : False

    Microsoft.Crm.UnifiedServiceDesk.Dynamics Verbose 16 24/11/2021 10:25:25  USD::ChromiumBrowserControl:InitCef:ChromiumWebBrowser : Chrome accessibility renderer set!

    Microsoft.Crm.UnifiedServiceDesk.Dynamics Verbose 16 24/11/2021 10:25:25  ChromiumBrowserControl : InitCef() : Cef.Initialize Actual Start

    After that nothing. I also add my Event trace, from which you cas see it may not be a sign on problem:

    Applicazione: UnifiedServiceDesk.exe

    Versione framework: v4.0.30319

    Descrizione: il processo è stato terminato a causa di un'eccezione non gestita.

    Informazioni sull'eccezione: System.AccessViolationException

      in System.String.wcslen(Char*)

      in System.String.CtorCharPtr(Char*)

      in CefSharp.Core.CefSettingsBase.get_BrowserSubprocessPath()

    Informazioni sull'eccezione: System.Reflection.TargetInvocationException

      in System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)

      in System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])

      in System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

      in System.Web.SecurityUtils.MethodInfoInvoke(System.Reflection.MethodInfo, System.Object, System.Object[])

      in System.Web.Script.Serialization.JavaScriptSerializer.SerializeCustomObject(System.Object, System.Text.StringBuilder, Int32, System.Collections.Hashtable, SerializationFormat)

      in System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(System.Object, System.Text.StringBuilder, Int32, System.Collections.Hashtable, SerializationFormat, System.Reflection.MemberInfo)

      in System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(System.Object, System.Text.StringBuilder, Int32, System.Collections.Hashtable, SerializationFormat, System.Reflection.MemberInfo)

      in System.Web.Script.Serialization.JavaScriptSerializer.Serialize(System.Object, System.Text.StringBuilder, SerializationFormat)

      in System.Web.Script.Serialization.JavaScriptSerializer.Serialize(System.Object, SerializationFormat)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.ChromiumBrowserControl.InitCef(Boolean)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.ChromiumBrowserControl..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControlComboboxItem2..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String, System.String)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.BaseCRMComboboxItem..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String, System.String)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControlComboboxItems.UnifiedClientComboboxItem..ctor(Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.PresenterControl2, System.String, System.String)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.UnifiedClientPresenterControl.SetActiveBrowser(System.String)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.BaseCRMPresenterControl.SetActiveBrowser(System.String)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.BaseCRMPresenterControl.Navigate(System.String, System.String, Byte[], System.String, Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.NavigateProperties)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Browser2.UnifiedClientPresenterControl.Navigate(System.String, System.String, Byte[], System.String, Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.NavigateProperties)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.UCPageControl.Navigate(System.String, System.String, Byte[], System.String, Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.NavigateProperties)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.UCPageControl.NavigateAction(Microsoft.Uii.Csr.RequestActionEventArgs)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.UCPageControl.DoAction(Microsoft.Uii.Csr.RequestActionEventArgs)

      in Microsoft.Uii.Csr.Aif.HostedApplication.HostedWpfControl.HandleRequestAction(System.Object, Microsoft.Uii.Csr.RequestActionEventArgs)

    Informazioni sull'eccezione: System.Reflection.TargetInvocationException

      in System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)

      in System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])

      in System.Delegate.DynamicInvokeImpl(System.Object[])

      in Microsoft.Practices.CompositeUI.EventBroker.Subscription.doWork(System.Object, System.Object, System.EventArgs, System.Collections.Generic.List`1<System.Exception>)

      in Microsoft.Practices.CompositeUI.EventBroker.Subscription.CallOnUserInterface(System.Object, System.EventArgs, System.Collections.Generic.List`1<System.Exception>)

      in Microsoft.Practices.CompositeUI.EventBroker.Subscription.EventTopicFireHandler(System.Object, System.EventArgs, System.Collections.Generic.List`1<System.Exception>, System.Diagnostics.TraceSource)

      in Microsoft.Practices.CompositeUI.EventBroker.EventTopic.CallSubscriptionHandlers(System.Object, System.EventArgs, Microsoft.Practices.CompositeUI.EventBroker.EventTopicFireDelegate[])

      in Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(System.Object, System.EventArgs, Microsoft.Practices.CompositeUI.WorkItem, Microsoft.Practices.CompositeUI.EventBroker.PublicationScope)

      in Microsoft.Practices.CompositeUI.EventBroker.EventTopic.Fire(Microsoft.Practices.CompositeUI.EventBroker.Publication, System.Object, System.EventArgs)

      in Microsoft.Practices.CompositeUI.EventBroker.Publication.PublicationHandler(System.Object, System.EventArgs)

      in Microsoft.Uii.Csr.Aif.HostedApplication.HostedWpfControl.FireRequestAction(Microsoft.Uii.Csr.RequestActionEventArgs)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMGlobalManager.ExecuteActions(Microsoft.Uii.Csr.Session, System.Collections.Generic.List`1<Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities.ActionDefinition>, System.String, System.Collections.Generic.Dictionary`2<System.String,System.String>)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMGlobalManager.FireEvent(Microsoft.Uii.Csr.Session, System.String, System.String, System.Collections.Generic.Dictionary`2<System.String,System.String>)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsBaseHostedControl.FireEvent(System.String)

      in CustomHostedControls.HiddenController.DesktopReady()

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsBaseHostedControl.CRMWindowRouter_DesktopReady(System.Object, System.EventArgs)

      in System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)

      in Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMGlobalManager.<DesktopReadyProcess>b__155_0()

      in System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)

      in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)

      in System.Windows.Threading.DispatcherOperation.InvokeImpl()

      in MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)

      in System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

      in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

      in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

      in MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)

      in System.Windows.Threading.DispatcherOperation.Invoke()

      in System.Windows.Threading.Dispatcher.ProcessQueue()

      in System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)

      in MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)

      in MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)

      in System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)

      in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)

      in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)

      in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

      in MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)

      in System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)

      in System.Windows.Window.ShowHelper(System.Object)

      in System.Windows.Window.ShowDialog()

      in Microsoft.Practices.CompositeUI.Windows.WindowShellApplication`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Start()

      in Microsoft.Practices.CompositeUI.CabApplication`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Run()

      in Microsoft.Uii.Csr.AifWpfShellBase`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].StartApplication()

      in Microsoft.Crm.UnifiedServiceDesk.Utility.AgentDesktopBootManager.LoadAgentDesktop()

      in Microsoft.Crm.UnifiedServiceDesk.Program.DoUiiConnectCheck()

      in Microsoft.Crm.UnifiedServiceDesk.Program.Main()

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans