Debugger is not breaking the Code and the show the Following error and the Wait for Break Windows closes .
Can anyone help me ??
*This post is locked for comments
Debugger is not breaking the Code and the show the Following error and the Wait for Break Windows closes .
Can anyone help me ??
*This post is locked for comments
Hi i got the Solution .
Deleted the lines in 'Debugger Breakpoint' 2000000100. now its works
Please try to compile all the objects and run Build Server Application Objects from Tool Menu and try to restart the services.
Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The server "Nav_cu22_2016_test" was unable to process the request. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "Nav_cu22_2016_test" was unable to process the request. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.InvokeApplicationMethod(ApplicationCodeType objectType, Int32 objectId, String methodName, NavDataSet& dataSet, NavRecordState& state, Object[]& args)
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.InvokeOnNewRecord(NavRecord record, NavRecord xrec, NavRecordState state, Object[] args)
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.OnNewRecord(Boolean clearFormState, NavRecord xrec, Object[] args)
at Microsoft.Dynamics.Nav.Client.DataBinder.NavBindingManager.ClearFormState()
at Microsoft.Dynamics.Nav.Client.Communication.NavBindingManagerConsumerPort.BindingManagerDataLoaded(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Microsoft.Dynamics.Framework.UI.BindingManager.ChangeStateToFilled()
at Microsoft.Dynamics.Framework.UI.BindingManager.DoFill(DataReaderFillOptions fillOptions)
at Microsoft.Dynamics.Framework.UI.BindingManager.Fill(BindingManagerFillOptions options)
at Microsoft.Dynamics.Framework.UI.LogicalFormRefresher.TryRefresh()
at Microsoft.Dynamics.Framework.UI.ConsumerPort.MessageAvailable(IMessage message)
at Microsoft.Dynamics.Framework.UI.CommunicationChannel.SendConsumerMessage(IMessage message)
at Microsoft.Dynamics.Framework.UI.CommunicationChannel.ProcessMessage(MessagePriority minimumMessagePriority)
at Microsoft.Dynamics.Framework.UI.CommunicationBroker.<>c__DisplayClass4.<HandleOneMessage>b__2()
at Microsoft.Dynamics.Framework.UI.CommunicationBroker.ProcessMessage(Func`1 handleMessage)
at Microsoft.Dynamics.Framework.UI.WinForms.CommunicationMessageHandler.HandleOneMessage()
at Microsoft.Dynamics.Framework.UI.WinForms.CommunicationMessageHandler.OnIdle()
at Microsoft.Dynamics.Framework.UI.WinForms.ClientSession.ClientSessionIdle(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "Nav_cu22_2016_test" was unable to process the request. The application will close.
HResult: -2146233088
----------------------------------
Type: System.InvalidOperationException
Message: Path is not valid
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args)
at Microsoft.Dynamics.Nav.Service.NSFormApplicationCode.Invoke(NavSession session)
at SyncInvokeInvokeApplicationMethod(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233079
----------------------------------
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
StackTrace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args)
Source: mscorlib
HResult: -2146232828
----------------------------------
Type: System.InvalidOperationException
Message: Path is not valid
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.Debugger.MethodScopeScaffolding.GetDescendantScaffolding(String& path, NavMethodScope methodScope, Object& currentInstance, List`1& childSequence, Object& parentInstance)
at Microsoft.Dynamics.Nav.Runtime.Debugger.WatchItemsScaffolding.<Update>d__0.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.Dynamics.Nav.Runtime.ALDebugger.GetWatchesForStackFrame(Int32 stackFrameNumber)
at Microsoft.Dynamics.Nav.Runtime.DebuggerWatchValueDataProvider.<EnumerateWatchValuesForStackFrame>d__8.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()
at Microsoft.Dynamics.Nav.Runtime.ResultSet.TryGetAtIndexWithoutBuffer(Int32 index, ReadOnlyRecordBuffer& recordBuffer)
at Microsoft.Dynamics.Nav.Runtime.ResultSetEnumerator.TryMoveNextImpl(MutableRecordBuffer& recordBuffer)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.Advance(Int32 steps, Boolean moveBackwards, Boolean automaticFindFromPositionOnInvalid, Boolean& resultSetValid, Int32 setSize)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindLast(DataError errorLevel)
at Microsoft.Dynamics.Nav.Runtime.NavForm.NewRecord(Boolean belowXRec)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233079
Can you help us with the event log that is generated when the debug crashes. We had faced this issue where the build was old one and we had updated the objects of new build.
In same Server Client database debugger is not working whereas Cronus Database is debugging .
sorry boss it was CU 22 . installed file and the Objects file both are CU 22
Assuming you have installed the CU24 and not upgraded the objects to CU24 and using the old build.
Cu 24
Which build of NAV 2016 ?
The server was unable to process the request . the application will close
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,309
Most Valuable Professional
nmaenpaa
101,156