Hi,
I have a costumer that have NAV 2013 R2 with 13 companies, with 50+ users and one of the users, can only work in one of the companies. If he enters on any other company, he can work for about 10 minutes, after that, the client just crash. His laptop was reinstalled several times, and even now with a brand new laptop with a fresh install, it continues to happen.
In event viewer he had the 3 errors below:
Event ID 1025
Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: GetAggregates operation has been Canceled
Stack:
at System.Environment.FailFast(System.String)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.HandleGeneralException(System.Exception)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoHandleThreadException(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 Microsoft.Dynamics.Framework.UI.WinForms.ExceptionWrapper.CatchException(System.Object, System.Exception)
at Microsoft.Dynamics.Framework.UI.WinForms.ExceptionWrapper.RunTryCatch(System.Object, System.Delegate, System.Object[])
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcherOperation.InvokeInternal(System.Delegate, System.Object[])
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcherOperation+<>c__DisplayClass2.<BeginInvoke>b__0()
at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
at System.Delegate.DynamicInvokeImpl(System.Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(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.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.Framework.UI.Windows.ClientSessionBase.Run()
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.WinClient.StartWinFormsClient.RunAndDispose()
at Microsoft.Dynamics.Nav.Client.Program.ExecuteNormally(System.Func`1<Int32>)
at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
Event ID 0
Type: Microsoft.Dynamics.Framework.UI.LogicalOperationAbortedException
Message: GetAggregates operation has been Canceled
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
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: -2146233088
Type: Microsoft.Dynamics.Framework.UI.LogicalOperationAbortedException
Message: GetAggregates operation has been Canceled
StackTrace:
at Microsoft.Dynamics.Framework.UI.VisualizationControl.VisualizationLoadDataComplete(Object sender, LogicalTaskCompleteEventArgs e)
at Microsoft.Dynamics.Framework.UI.VisualizationLoadDataTask.OnLoadDataComplete(Object sender, LogicalTaskCompleteEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.LogicalTask.OnTaskComplete(Object sender, LogicalTaskCompleteEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.LogicalTask.<>c__DisplayClass9.<TaskRunnerOperationComplete>b__7()
Source: Microsoft.Dynamics.Framework.UI
HResult: -2146233088
Type: Microsoft.Dynamics.Framework.UI.LogicalOperationAbortedException
Message: GetAggregates operation has been Canceled
StackTrace:
at Microsoft.Dynamics.Framework.UI.VisualizationLoadDataTask.LoadData()
at Microsoft.Dynamics.Framework.UI.VisualizationLoadDataTask.<Start>b__0(Object args)
at Microsoft.Dynamics.Framework.UI.LogicalTaskRunner.ExecuteOperation(Func`2 operation, Object arg, Guid taskId)
Source: Microsoft.Dynamics.Framework.UI
HResult: -2146233088
Type: Microsoft.Dynamics.Framework.UI.LogicalOperationCanceledException
Message: GetAggregates operation has been Canceled
StackTrace:
at Microsoft.Dynamics.Nav.Client.DataBinder.AggregatedTableDataReader.FillDataTableInternal(QueryOptions options, Guid taskId)
at Microsoft.Dynamics.Framework.UI.TableDataReader.FillDataTable(QueryOptions options)
at Microsoft.Dynamics.Framework.UI.AggregatedTableVisualizationLoadDataTask.LoadDataCore()
at Microsoft.Dynamics.Framework.UI.VisualizationLoadDataTask.LoadData()
Source: Microsoft.Dynamics.Nav.Client.UI
HResult: -2146233088
Event ID 1000
Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 7.1.38455.0, time stamp: 0x5452b5fa
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00700fd1
Faulting process id: 0x95c
Faulting application start time: 0x01d42370c0cca73d
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: unknown
Report Id: 14599643-2049-45aa-b37f-89364edda8c8
Faulting package full name:
Faulting package-relative application ID:
Any Idea about it?
Thanks in advance,
Nuno Silva
===============
Nuno Silva
0
Comments
so basically if he logs in company "A" it works more than 10 min
if he logs in company "B" after 10 min, crashes.
is that correct?
the only idea i´ve got is about checking the service IDLE timeout but I don´t think it´s that.
have you tried in other machine? I mean not that laptop. If it does not happen then is laptop issue.
He uses the same service for both companies, so it’s not related with IDLE timeout. but the error happens in a service with timeout configured or another service without timeout.
He just change to a new laptop from a diferente brand.
Nuno Silva