Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

NAV 365 Business Central- print=has stopped working

Posted on by 5

Hello,

 when I try to print from NAV365 application has immediatelly stop working.

Has anyone some help ? Really cant find out whats the problem is.

source : .NET Runtime

event ID : 1026

Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
   at System.AppDomain.get_MonitoringTotalAllocatedMemorySize()
   at Microsoft.Dynamics.Nav.Types.LocalReportHandle.Render(System.String, System.String, Microsoft.Dynamics.Nav.Types.CreateStreamCallback)
   at Microsoft.Dynamics.Nav.Common.Printing.ReportRenderer.RenderLocalReport()
   at Microsoft.Dynamics.Nav.Common.Printing.ReportRenderer.ReportPageReadyPrintDirectly(Microsoft.Dynamics.Nav.Types.DataSetRequest, Boolean, Microsoft.Dynamics.Nav.Common.Printing.ReportExecutionHandler)
   at Microsoft.Dynamics.Nav.Common.Printing.ReportHandler.ReportPageReady(Microsoft.Dynamics.Nav.Types.DataSetRequest, Microsoft.Dynamics.Nav.Common.Printing.ReportExecutionHandler, Microsoft.Dynamics.Nav.Client.IService, Microsoft.Dynamics.Nav.Common.Printing.IReportCallbackHandler)
   at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass42_0.<ReportPageReady>b__0()
   at Microsoft.Dynamics.Nav.Client.ServiceClientCallback+<>c__DisplayClass14_0.<RunClientRequest>b__0()
   at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(System.Action, System.Action`1<System.Exception>)
   at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(System.IAsyncResult, ThreadCallbackContext)
   at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
   at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>, Microsoft.Dynamics.Nav.Client.ServerCallOptions)
   at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Microsoft.Dynamics.Nav.Client.BeginCallServerMethod, Microsoft.Dynamics.Nav.Client.EndCallServerMethod`1<System.__Canon>)
   at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.ActionField(Microsoft.Dynamics.Nav.Types.NavRecordState ByRef, Microsoft.Dynamics.Nav.Types.Data.NavDataSet, Int32, Int32)
   at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.ActionMethod(Int32, Int32)
   at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeTrigger(Microsoft.Dynamics.Framework.UI.LogicalControl, Microsoft.Dynamics.Framework.UI.UISession)
   at Microsoft.Dynamics.Nav.Client.Actions.InvokePageTriggerAction.InvokeCore(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
   at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
   at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Collections.IDictionary, Microsoft.Dynamics.Framework.UI.UISession)
   at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke(System.Collections.IDictionary)
   at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(System.Action, System.String, System.Collections.Generic.IDictionary`2<System.String,System.String>)
   at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(Microsoft.Dynamics.Framework.UI.ActionControl)
   at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter, Microsoft.Dynamics.Framework.UI.ActionControl)
   at Microsoft.Dynamics.Framework.UI.UX2006.WinForms.LogicalCommand.Execute(System.Object)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Ribbon.RibbonButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
   at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   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[])

  • valasek@zpsv.cz Profile Picture
    valasek@zpsv.cz 5 on at
    RE: NAV 365 Business Central- print=has stopped working

    Hello,

    so they implement Microsoft Cummulative update (CU5) and install NAV Client Version 14.0.36457.0

    Problem was solved

    Hope it helps you too.

  • valasek@zpsv.cz Profile Picture
    valasek@zpsv.cz 5 on at
    RE: NAV 365 Business Central- print=has stopped working

    Hello,

    I have asked our supplier about finding solution to it. They loaded new build and problem was solved.

    So it seemed like problem in this Nav Client version. Asked your supplier to do the same, load new build\upgrade.

  • Clinton Saunders Profile Picture
    Clinton Saunders 20 on at
    RE: NAV 365 Business Central- print=has stopped working

    Hi there, I am getting the same issue. Additional error log information as follows (followed by the same data as in the post above):

    Error 1: Applicatioon Error

     

    Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 14.0.34251.0, time stamp: 0xa8acb630

    Faulting module name: KERNELBASE.dll, version: 10.0.17763.737, time stamp: 0x7416f3ae

    Exception code: 0xe0434352

    Fault offset: 0x0000000000039129

    Faulting process id: 0x5194

    Faulting application start time: 0x01d582870e719c41

    Faulting application path: C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe

    Faulting module path: C:\Windows\System32\KERNELBASE.dll

    Report Id: f0223f6e-ef40-4950-a5fc-2e3fb3ecab4c

    Faulting package full name

    This only happens with the Windows client (version 14) on a Remote Desktop server. Web client prints fine. Behaviour is that when you print to a print driver, NAV just closes down.

    Need a fix to this urgently.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans