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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Windows client crashes when switching to and from Excel

(0) ShareShare
ReportReport
Posted on by 75

Hi,

We have a couple of clients that are having similar issues where by their Windows Client crashes when switching between BC & Excel. THis can simply be when switching bewteen apps or when copying/pasting from one to the other. Once of my colleagues suggested it is a known issue with no fix - surely not.....

Does anyone know of this and if there is actually a fix?

Versions vary from NAV 2016/17 to the latest BC.

Thanks

Gary

  • thegnic Profile Picture
    75 on at

    The event logs show the following:

    Application: Microsoft.Dynamics.Nav.Client.exe
    Framework Version: v4.0.30319
    Description: The application requested process termination through System.Environment.FailFast(string message).
    Message: Object reference not set to an instance of an object.
    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.Timer+TimerNativeWindow.OnThreadException(System.Exception)
    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[])

    Thanks

    Gary

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Does this issue also happen in the CRONUS company on the same machine?  Try to re-compile all objects and ensure you are recent with your maintenance plan and CU upgrade cycle.

    Thanks.

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Just wondering if this is still an issue.

    Thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 741 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 514 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 336 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans