web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)
Suggested Answer

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

I have the same question (0)
  • Suggested answer
    Raheel-Khan Profile Picture
    1,371 on at

    Hi Paul Bishop,

    Hope you fine!

    I'll recommend you to install a fresh client.

  • ManishS Profile Picture
    86 on at

    Are you using some kind of session killer for applications.

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

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

  • Community Member Profile Picture
    on at

    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.

  • Community Member Profile Picture
    on at

    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.

  • Suggested answer
    Community Member Profile Picture
    on at

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

  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

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

  • dav86 Profile Picture
    22 on at

    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
    Community Member Profile Picture
    on at

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

  • LPaulD Profile Picture
    73 on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans