Skip to main content
Microsoft Dynamics NAV forum
Answered

Nav Client crashing after being minimized/tabbed out on laptops connected to docking stations

editSubscribe (0) ShareShare
ReportReport
Posted on by 5

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

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

'

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)


Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 11.0.21441.0, time stamp: 0x5ac6989b
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00007ffd8556ce06
Faulting process ID: 0xdec
Faulting application start time: 0x01d614a4ab2f803e
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\110\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: unknown
Report ID: e4add851-300c-442c-bfa1-9f74f08155f7
Faulting package full name: 
Faulting package-relative application ID:


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:

'

I have attempted to reinstall the application, I have deleted the Client config file and the personalization store, I have enabled the high DPI scaling override, and set the scaling to be performed by the system (this was a fix on another forum but didn't work in my case).

When the laptop is used without the dock, it works fine.

The correct docking station drivers are installed.

Windows drivers are up to date along with display drivers.

Could someone please advise me on this?

Thanks,

Categories:
  • Verified answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Nav Client crashing after being minimized/tabbed out on laptops connected to docking stations

    Hello,

    279292 "Value does not fall within the expected range" error message when the Windows client and Click Once client frequently crash.

    All other CU's after CU10 does have the fix included as they are cumulative.

    Thanks.

  • Joshua Lindsay Profile Picture
    Joshua Lindsay 5 on at
    RE: Nav Client crashing after being minimized/tabbed out on laptops connected to docking stations

    Hello Marco,

    Thank you for your response.

    I have followed that link, however I cannot seem to find that fix in the patch notes.

    Is this hot fixed in a different cumulative update?

    Kind regards,

    Joshua Lindsay

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Nav Client crashing after being minimized/tabbed out on laptops connected to docking stations

    Hello,

    CU10 does have the fix for this issue included.

    support.microsoft.com/.../cumulative-update-10-for-microsoft-dynamics-nav-2018-build-24742

    The call stack you are showing is an exact match of bug which is a duplicate of the fix mentioned in CU10. 

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 282,978 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans