The moment we click on the drop down menu arrow (see image) this opens an explorer to find and select the file that needs to be imported.
When the file explorer opens Microsoft Dynamics Nav Hangs and crashes with no error popup.
Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 7.1.46296.0, time stamp: 0x576cd459
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x1fd20431
Faulting process id: 0xdf30
Faulting application start time: 0x01d4c53d9949a81b
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: unknown
Report Id: 2a36b4d0-babd-4e1c-b101-61c050bd1010
Faulting package full name:
Faulting package-relative application ID:
---------------------------------------------------------------
Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area.
Stack:
at System.Environment.FailFast(System.String)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.HandleGeneralException(System.Exception)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoHandleThreadException(System.Exception, Boolean)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(System.Object, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(System.Object, System.Exception)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs)
at System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
at System.Windows.Forms.Control.WndProcException(System.Exception)
at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.FileDialogNative+IFileDialog.Show(IntPtr)
at System.Windows.Forms.FileDialog.RunDialogVista(IntPtr)
at System.Windows.Forms.FileDialog.RunDialog(IntPtr)
at System.Windows.Forms.CommonDialog.ShowDialog(System.Windows.Forms.IWin32Window)
at System.Windows.Forms.CommonDialog.ShowDialog()
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 Microsoft.Dynamics.Nav.Client.AutomationHandler.InvokeMethod(System.String, System.Type, System.Object, System.Type, System.Reflection.BindingFlags, System.Reflection.ParameterModifier[], System.Object[], System.Type[], Boolean)
at Microsoft.Dynamics.Nav.Client.AutomationHandler.InvokeAutomationMethodCore(Int32, Int32, System.String, System.Reflection.BindingFlags, System.Reflection.ParameterModifier[], Microsoft.Dynamics.Nav.Types.NavAutomationArgument[])
at Microsoft.Dynamics.Nav.Client.AutomationHandlerBase.InvokeAutomationMethod(Int32, Int32, System.String, System.Reflection.BindingFlags, System.Reflection.ParameterModifier[], Microsoft.Dynamics.Nav.Types.NavAutomationArgument[])
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass4e.<InvokeAutomationMethod>b__4d()
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass1.<RunClientRequest>b__0()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager+<>c__DisplayClass8.<WaitForServerResponse>b__6()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(System.Action, System.Action`1<System.Exception>)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(System.IAsyncResult, ThreadCallbackContext)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.LookupField(Microsoft.Dynamics.Nav.Types.NavRecordState ByRef, Microsoft.Dynamics.Nav.Types.Data.NavDataSet, Int32, System.String ByRef)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.LookupField(Microsoft.Dynamics.Nav.Types.NavRecordState ByRef, Microsoft.Dynamics.Nav.Types.Data.NavDataSet, Int32, System.String ByRef)
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.LookupField(Int32, System.String, System.String, System.String, Boolean ByRef, System.String ByRef)
at Microsoft.Dynamics.Nav.Client.Actions.NavLookupAction.InvokeCore(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(Microsoft.Dynamics.Framework.UI.LogicalControl, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper+<>c__DisplayClass2.<ModalitySafeInvoke>b__0()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(System.Action)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(Microsoft.Dynamics.Framework.UI.LogicalAction, Microsoft.Dynamics.Framework.UI.LogicalControl)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.InvokeDefaultLookupAction(Microsoft.Dynamics.Framework.UI.LogicalControl, Boolean, System.String)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.InvokeDefaultLookupAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter, System.String)
at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.OnLookupClick()
at Microsoft.Dynamics.Framework.UI.WinForms.StringControlAdapter.TextControl_LookupClick(System.Object, System.EventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ViewBase.OnLookupClick(System.EventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ViewBase.OnMouseUp(System.Windows.Forms.MouseEventArgs)
at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.TextView.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessForm.ShowDialog(System.Windows.Forms.Form, System.Windows.Forms.IWin32Window)
at Microsoft.Dynamics.Framework.UI.WinForms.FormPanel.DoModal(Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Framework.UI.Windows.LogicalFormAdapterBase.DoModal(Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnFormToShow(Microsoft.Dynamics.Framework.UI.LogicalForm, Microsoft.Dynamics.Framework.UI.LogicalControl)
at Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.OnFormToShow(Microsoft.Dynamics.Framework.UI.LogicalForm, Microsoft.Dynamics.Framework.UI.LogicalControl)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.OnDialogToShow(Microsoft.Dynamics.Framework.UI.DialogSessionEventArgs)
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.DialogToShow(System.Object, Microsoft.Dynamics.Framework.UI.DialogSessionEventArgs)
at Microsoft.Dynamics.Framework.UI.UISession.OnDialogToShow(Microsoft.Dynamics.Framework.UI.DialogSessionEventArgs)
at Microsoft.Dynamics.Framework.UI.UISession.ShowDialog(Microsoft.Dynamics.Framework.UI.LogicalForm, Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Framework.UI.LogicalForm+<>c__DisplayClass9.<ShowDialogAndEnsureModality>b__8()
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at Microsoft.Dynamics.Framework.UI.WinForms.ExceptionWrapper.RunTryCatch(System.Object, System.Delegate, System.Object[])
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher+<>c__DisplayClassa.<Invoke>b__9()
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
at System.Windows.Forms.Control.Invoke(System.Delegate)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.Invoke(System.Action)
at Microsoft.Dynamics.Framework.UI.LogicalDispatcher.ExecuteInFrameInternal(Microsoft.Dynamics.Framework.UI.LogicalDispatcherFrame, System.Action)
at Microsoft.Dynamics.Framework.UI.LogicalDispatcher.ExecuteInFrame(Microsoft.Dynamics.Framework.UI.LogicalDispatcherFrame, System.Action)
at Microsoft.Dynamics.Framework.UI.LogicalForm.ShowDialogAndEnsureModality(Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Framework.UI.LogicalForm.ShowDialog(Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Nav.Client.PageRunCallbackHandler.RunModalPage(Microsoft.Dynamics.Nav.Types.FormRunModalRequest, Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass1f.<FormRunModal>b__1e()
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass1.<RunClientRequest>b__0()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager+<>c__DisplayClass8.<WaitForServerResponse>b__6()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(System.Action, System.Action`1<System.Exception>)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(System.IAsyncResult, ThreadCallbackContext)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.RunReport(Int32, Microsoft.Dynamics.Nav.Types.NavRecordState ByRef, Microsoft.Dynamics.Nav.Types.Data.NavDataSet, System.Collections.Generic.IList`1<System.String>)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.RunReport(Int32)
at Microsoft.Dynamics.Nav.Client.Actions.RunReportAction.InvokeCore(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(Microsoft.Dynamics.Framework.UI.LogicalControl, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper+<>c__DisplayClassa.<ModalitySafeInvoke>b__8()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(System.Action)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(Microsoft.Dynamics.Framework.UI.ActionControl)
at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter, Microsoft.Dynamics.Framework.UI.ActionControl)
at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter)
at Microsoft.Dynamics.Framework.UI.UX2006.WinForms.LogicalCommand.Execute(System.Object)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Ribbon.RibbonButton.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunAndDispose()
at Microsoft.Dynamics.Nav.Client.Program.ExecuteNormally(System.Func`1<Int32>)
at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
------------------------------------------------------------------
Type: System.InvalidOperationException
Message: Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233079
----------------------------------
Type: System.InvalidOperationException
Message: Visual Styles-related operation resulted in an error because visual styles are currently disabled in the client area.
StackTrace:
at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part)
at System.Windows.Forms.VisualStyles.VisualStyleRenderer.SetParameters(String className, Int32 part, Int32 state)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ComboBoxVistaRenderer.InitVisualStyleRenderer(COMBOBOXPARTS part, Int32 state)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ViewBase.PaintLookup(Graphics graphics, Rectangle rect, Boolean mouseOver, Boolean clicked, Boolean enabled, RightToLeft rightToLeft)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.ViewBase.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.TextView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: System.Windows.Forms
HResult: -2146233079