We are running Navision 2017. Since an hotfix from our supplier Navision keeps crashing if you open certain pages or if you try to run a report. The supllier says that on there enverinment there is no issue. I have looked in the event log but I don't understand what the error says. See the event log
Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NotSupportedException
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 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.Nav.Client.PageRunCallbackHandler.RunModalPage(Microsoft.Dynamics.Nav.Types.FormRunModalRequest, Microsoft.Dynamics.Framework.UI.LogicalForm)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass38_0.<FormRunModal>b__0()
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass15_0.<RunClientRequest>b__0()
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.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.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.ActionField(Microsoft.Dynamics.Nav.Types.NavRecordState ByRef, Microsoft.Dynamics.Nav.Types.Data.NavDataSet, Int32, Int32)
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.ActionMethod(Int32, Int32)
at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeTrigger(Microsoft.Dynamics.Framework.UI.LogicalControl, Microsoft.Dynamics.Framework.UI.UISession)
at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.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.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.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.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.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.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.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.Program.Main(System.String[])
*This post is locked for comments
Search fo Personalizationstore.xml FILE and delete section related to the report xxxxxx (ore delete entire file, but you loose user page personalization)
C:\Users\XXXUSER\AppData\Roaming\Microsoft\Microsoft Dynamics NAV.
Parameter of report and other settings are saved in this file: if you change the report (request page or dataset) the report may crash.
"On our environment everything ok" - is a worst partner's answer ever. Make them do the tests on your server. If the crash occurs after their hotfix - it's totally their fault.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156