Hi All,
We have a user that minimizes Dynamics Nav 2016, when she hovers over the application in the task bar and then clicks on the little preview pane (see below as example), the app will crash.
However if she clicks on the NAV icon without the preview panel appearing, the app works fine. The problem is specifically when she hovers over the icon in the taskbar and the mini preview panel appears.
I have tried the suggetsions within this thread https://community.dynamics.com/nav/f/34/t/297401 but no luck. Here are the entries from windows event viewer:
Type: System.ArgumentException
Message: Value does not fall within the expected range.
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: -2147024809
----------------------------------
Type: System.ArgumentException
Message: Value does not fall within the expected range.
StackTrace:
at Microsoft.WindowsAPICodePack.Taskbar.TabbedThumbnailNativeMethods.SetIconicThumbnail(IntPtr hwnd, IntPtr hBitmap)
at Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.SetThumbnail(Bitmap bitmap)
at Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.OnDwmSendIconicThumbnail(Size requestedSize)
at Microsoft.Dynamics.Framework.UI.WinForms.FormWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: Microsoft.Dynamics.Framework.UI.WinForms
HResult: -2147024809
----------------------------
Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Value does not fall within the expected range.
Stack:
at System.Environment.FailFast(System.String)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(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 System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
at System.Windows.Forms.Control.WndProcException(System.Exception)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(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.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[])
----------
Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 9.0.48067.0, time stamp: 0x58af52c4
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00007ffb318cd479
Faulting process ID: 0x28b8
Faulting application start time: 0x01d4e3b9cabb6214
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: unknown
Report ID: c6e17aaf-e276-42ad-9e48-07d447e472b7
Faulting package full name:
Faulting package-relative application ID:
-------------
Fault bucket 129387454504, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: Microsoft.Dynamics.Nav.Client
P2: 9.0.48067.0
P3: 58af52c4
P4: Microsoft.Dynamics.Nav.Client.WinClient
P5: 9.0.48067.0
P6: 58af52c6
P7: 5d
P8: 80
P9: FatalError
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF5C9.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERFC32.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERFC82.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERFC82.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERFCB1.tmp.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Microsoft.Dynami_e6374a25a2fdfdc02456443e352011c8fcf5_de8b25b1_1f550346
Analysis symbol:
Rechecking for solution: 0
Report Id: c6e17aaf-e276-42ad-9e48-07d447e472b7
Report Status: 268435456
Hashed bucket: 2b64f990c93c063e8d02c70a5c12756c
Cab Guid: 0
The user is currently using a HP Laptop Elitebook 840 G1 along with a HP UltraSlim Docking Station, running windows 10 on the laptop.
Ive reinstalled the client, the issue does not happen when I undock the laptop, so its somehow linked to the docking station. I have also tried changing the dock station and the problem still persists.