Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Nav Client crashing after being minimized on laptops with docking stations

(0) ShareShare
ReportReport
Posted on by

We are having an issue with some of our machines where the NAV client crashes after it is either minimised or not in focus for a period.

This issue only seems to be our laptops with docking stations.

When the Nav window is tried to be re-focused you see the processing circle followed by the application closing with the following 3 entries in the application event log.

Log Name: Application
Source: MicrosoftDynamicsNAVClient
Date: 10/10/2018 11:10:21
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: 
Description:
Type: System.ArgumentException
Message: <ii>Value does not fall within the expected range.</ii>

StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0()
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: <ii>Value does not fall within the expected range.</ii>
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

Log Name: Application
Source: .NET Runtime
Date: 10/10/2018 11:10:21
Event ID: 1025
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: 
Description:
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[])

Log Name: Application
Source: Application Error
Date: 10/10/2018 11:10:21
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: 
Description:
Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 10.0.13682.0, time stamp: 0x580f9fe5
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00007ffec5ab6c86
Faulting process ID: 0x3908
Faulting application start time: 0x01d4607f13ba77dc
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: unknown
Report ID: 38caf6d7-bb96-4d07-a741-9aed09045bf7
Faulting package full name:
Faulting package-relative application ID:

*This post is locked for comments

  • RE: Nav Client crashing after being minimized on laptops with docking stations

    This also fixed the issue on my Lenovo P14s, attached to USB-C Think dock.

  • progrmr Profile Picture
    progrmr 65 on at
    RE: Nav Client crashing after being minimized on laptops with docking stations

    Customer with laptop connected to dockstation had the same issue, changing the DPI setting appears to have fixed the problem. Thanks!!

  • LPaulD Profile Picture
    LPaulD 65 on at
    RE: Nav Client crashing after being minimized on laptops with docking stations

    Same issue with a Dell XPS 13 on a D6000, changing the DPI settings also did the trick here. Thx.

  • Suggested answer
    RE: Nav Client crashing after being minimized on laptops with docking stations

    I have a Lenovo X1 with Lenovo dock and was experiencing the same exact issue. Changing the DPI settings did the trick. Thank you

  • dav86 Profile Picture
    dav86 20 on at
    RE: Nav Client crashing after being minimized on laptops with docking stations

    Thank you. That worked.

    I changed the DPI settings for high resolution in the Compatibility Tab and let the system overwrite the scale-settings.

    3808.solution.png

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: Nav Client crashing after being minimized on laptops with docking stations

    Another thing you coulld try  chaning the DPI Settings on the application on the Comptability Tab of the properties window.

  • Suggested answer
    RE: Nav Client crashing after being minimized on laptops with docking stations

    We updated the display drivers on the machine and the problems stopped.

  • RE: Nav Client crashing after being minimized on laptops with docking stations

    Hi All,

    We are running NAV 2018 CU04 On-Premise and have the same problem with one of our RTC clients. The problem seems to be caused by the Dell D6000 Docking Station. As described above, when we unplug the second monitor from the docking station NAV behaves normally, but with both monitors plugged into the D6000 we have the problem and log entries exactly as described above.

    We are using the D6000 with driver 8.5.3361.0 and Intel UHD Graphics 620 with driver 23.20.16.4973

    Please let us know any solutions you find.

  • RE: Nav Client crashing after being minimized on laptops with docking stations

    Hi All,

    Thanks for the updates so far:

    The issue occurs on a fresh windows 10 install with just the Navision Client installed in this configuration

    The issue is "resolved" by disconnecting the external screens - this ofc isn't a solution as the users want to use multiple screens.

    We don't have any session killing setup

    In this test state we are not even using any AV other than Windows Defender.

    The issue does seem to be related to the application loosing track of what screen to display on - the latest Intel gfx drivers are installed.

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Nav Client crashing after being minimized on laptops with docking stations

    Do you have any customizations applied, especially any web-services that are periodically used by users?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans