
Hello, I am coming to you because I have encountered an error on my Navision.
As soon as I open more than one Navision window, if I want to resume the first window via the task bar, Navision suddenly cuts off.
In the windows event logs, I found the 3 following errors:
Error 1:
Nom de l’application défaillante Microsoft.Dynamics.Nav.Client.exe, version : 9.0.47042.0, horodatage : 0x57ed527f
Nom du module défaillant : unknown, version : 0.0.0.0, horodatage : 0x00000000
Code d’exception : 0x80131623
Décalage d’erreur : 0x00007ff903e0a9b9
ID du processus défaillant : 0x2fd4
Heure de début de l’application défaillante : 0x01d7c9756189244f
Chemin d’accès de l’application défaillante : C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Chemin d’accès du module défaillant: unknown
ID de rapport : fc07185c-9830-42de-9400-00e62775e8f2
Nom complet du package défaillant :
ID de l’application relative au package défaillant :
Error 2:
Application : Microsoft.Dynamics.Nav.Client.exe
Version du Framework : v4.0.30319
Description : l'application a demandé l'arrêt du processus via System.Environment.FailFast(message de la chaîne).
Message : La valeur n'est pas comprise dans la plage attendue.
Pile :
à System.Environment.FailFast(System.String)
à Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)
à Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(System.Object, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs)
à Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(System.Object, System.Exception)
à System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
à System.Windows.Forms.Control.WndProcException(System.Exception)
à System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
à System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
à System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
à System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
à System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
à System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
à System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
à Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
à Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
à Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
à Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
à Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
à Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
à Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
Error 3:
Type: System.ArgumentException
Message: La valeur n'est pas comprise dans la plage attendue.
StackTrace:
à Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
à Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
à Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
à Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2147024809
----------------------------------
Type: System.ArgumentException
Message: La valeur n'est pas comprise dans la plage attendue.
StackTrace:
à Microsoft.WindowsAPICodePack.Taskbar.TabbedThumbnailNativeMethods.SetIconicThumbnail(IntPtr hwnd, IntPtr hBitmap)
à Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.SetThumbnail(Bitmap bitmap)
à Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.OnDwmSendIconicThumbnail(Size requestedSize)
à Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: Microsoft.Dynamics.Framework.UI.WinForms
HResult: -2147024809
Hello,
Hopefully the community can assist you further with this question as you cannot contact Microsoft support due to product life cycle policies.
The only thing we can recommend at this time when upgrading to a supported release is not yet possible, is to ensure the issue reproduces in an unmodified CRONUS company. If it happens there as well, then you can verify if reproduces in the latest cumulative update available for the release of Dynamics NAV you are running.
If it does not reproduce in latest cumulative update in a CRONUS company, you can ask your or partner or inhouse developer to debug the scenario if the developer has a developer license.
Thanks.