Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

RTC ends with connection to server lost after error on the NAV server

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear all,

Hoping someone recognizes the error message and can suggest a resolution.  From the client side the RTC (NAV 2009R2) ends with a message stating the connection to the server has been lost and the application will close.  From the server side, there is an application event written stating "Message: NSDataSetState object and the method parameter recDataAccess have different TableIds."  The server message time stamp is about 20 sec prior to the client message time stamp so they appear related and it looks like the trouble starts at the server side rather than simply a client connectivity drop.  Developers have made no changes recently and not aware that any changes to the user permissions have been made either.  Below are the error messages from the event logs on the NAV server and the client (RDP).  I modified the server and user names.

NAV/SQL Server:


Log Name:      Application
Source:        MicrosoftDynamicsNAVServer
Date:          8/5/2016 9:25:08 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      NAVSRV.domain.local
Description:
Service: MicrosoftDynamicsNavServer
User: DOMAIN\user
Type: System.ArgumentException
Message: NSDataSetState object and the method parameter recDataAccess have different TableIds.
StackTrace:
     at Microsoft.Dynamics.Nav.Service.NSDataSetState.CheckPreconditions(NavRecordState navDataSetState, NsDataAccess recDataAccess)
     at Microsoft.Dynamics.Nav.Service.NSDataSetState.ApplyToRecordWithoutPositioning(NavRecordState state, NsDataAccess recDataAccess)
     at Microsoft.Dynamics.Nav.Service.NSDataSetState.ApplyToRecord(NavRecordState state, NsDataAccess recDataAccess)
     at Microsoft.Dynamics.Nav.Service.NSDrillDownForm.Launch(NavConnection connection)
     at Microsoft.Dynamics.Nav.Service.NSField.DrillDownField(NavConnection con)
     at Microsoft.Dynamics.Nav.Service.NSField.DrillDown(NavConnection connection)
     at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass1b.<DrillDownField>b__1a(Connection connection)
     at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
Source: Microsoft.Dynamics.Nav.Service

Event Xml:
<Event xmlns="schemas.microsoft.com/.../event">
  <System>
    <Provider Name="MicrosoftDynamicsNAVServer" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-08-05T13:25:08.000000000Z" />
    <EventRecordID>446547</EventRecordID>
    <Channel>Application</Channel>
    <Computer>NAVSRV.domain.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Service: MicrosoftDynamicsNavServer
User: DOMAIN\user
Type: System.ArgumentException
Message: NSDataSetState object and the method parameter recDataAccess have different TableIds.
StackTrace:
     at Microsoft.Dynamics.Nav.Service.NSDataSetState.CheckPreconditions(NavRecordState navDataSetState, NsDataAccess recDataAccess)
     at Microsoft.Dynamics.Nav.Service.NSDataSetState.ApplyToRecordWithoutPositioning(NavRecordState state, NsDataAccess recDataAccess)
     at Microsoft.Dynamics.Nav.Service.NSDataSetState.ApplyToRecord(NavRecordState state, NsDataAccess recDataAccess)
     at Microsoft.Dynamics.Nav.Service.NSDrillDownForm.Launch(NavConnection connection)
     at Microsoft.Dynamics.Nav.Service.NSField.DrillDownField(NavConnection con)
     at Microsoft.Dynamics.Nav.Service.NSField.DrillDown(NavConnection connection)
     at Microsoft.Dynamics.Nav.Service.NSService.&lt;&gt;c__DisplayClass1b.&lt;DrillDownField&gt;b__1a(Connection connection)
     at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
Source: Microsoft.Dynamics.Nav.Service
</Data>
  </EventData>
</Event>


Client -  RDP Server:

Log Name:      Application
Source:        MicrosoftDynamicsNAVClient
Date:          8/5/2016 9:25:27 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      RDPSRV.domain.local
Description:
Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Message: The connection to the server has been lost. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.Application_ThreadException(Object sender, ThreadExceptionEventArgs e)
     at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
     at System.Windows.Forms.Control.WndProcException(Exception e)
     at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
     at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 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 System.Windows.Forms.Application.Run(ApplicationContext context)
     at Microsoft.Dynamics.Nav.Client.WinClient.RunCore()
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.WinClient.Run()
Source: Microsoft.Dynamics.Nav.Client
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The connection to the server has been lost. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.<>c__DisplayClass2.<DoRethrowWithCatchException>b__0()
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The connection to the server has been lost. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, Exception e, Int32 messageNumber, String sessionId)
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.DrilldownField(NavRecordState& state, Int32 fieldId, Int32 drilldownFormId, NavDataSet recDataSet, String controlTriggerMethodName)
     at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.DrillDownField(Int32 fieldId, Int32 drillDownFormId, String personalizationId, String triggerName)
     at Microsoft.Dynamics.Nav.Client.Actions.NavDrilldownAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.Invoke(LogicalControl logicalControl)
     at Microsoft.Dynamics.Nav.Client.Actions.NavigateToStackAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.Invoke(LogicalControl logicalControl)
     at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.NavigateToNode(LogicalControl logicalControl, NavigationNode node)
     at Microsoft.Dynamics.Framework.UI.UX2006.NavigationPaneLogicalControl.OnNavigate(NavigationEventArgs e)
     at Microsoft.Dynamics.Framework.UI.NavigationControlBase.Navigate(Object node)
     at Microsoft.Dynamics.Framework.UI.WinForms.NavigationPaneControlAdapter.navigationPaneBarNavigate(Object sender, NavigationPaneNavigateEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.OnNavigate(NavigationPaneNavigateEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.treeView_Navigate(Object sender, NavigationNodeEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnNodeSelected(NavigationNodeEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.navTreeNode_Selected(Object sender, EventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnSelected(EventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.Select()
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnClicked(MouseLocationEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnMouseUp(MouseEventArgs e)
     at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
     at System.Windows.Forms.Control.WndProc(Message& m)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.WndProc(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
----------------------------------
Type: System.ServiceModel.FaultException
Action: schemas.microsoft.com/.../fault
Message: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
StackTrace:
 
  Server stack trace:
     at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 
  Exception rethrown at [0]:
     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
     at Microsoft.Dynamics.Nav.Types.INavService.DrillDownField(FieldRequest fieldRequest, NavRecordState dataSetState)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.<>c__DisplayClass41.<DrilldownField>b__40()
     at Microsoft.Dynamics.Nav.Client.ServerCallContext`1.InvokeCall(Object instance)
     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
 
  Exception rethrown at [1]:
     at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
     at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)
     at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
Source: mscorlib

Event Xml:
<Event xmlns="schemas.microsoft.com/.../event">
  <System>
    <Provider Name="MicrosoftDynamicsNAVClient" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-08-05T13:25:27.000000000Z" />
    <EventRecordID>228318</EventRecordID>
    <Channel>Application</Channel>
    <Computer>RDPSRV.domain.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Message: The connection to the server has been lost. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoRethrowWithCatchException(Exception exception)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.Application_ThreadException(Object sender, ThreadExceptionEventArgs e)
     at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
     at System.Windows.Forms.Control.WndProcException(Exception e)
     at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)
     at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 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 System.Windows.Forms.Application.Run(ApplicationContext context)
     at Microsoft.Dynamics.Nav.Client.WinClient.RunCore()
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
     at Microsoft.Dynamics.Nav.Client.WinClient.Run()
Source: Microsoft.Dynamics.Nav.Client
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The connection to the server has been lost. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.&lt;&gt;c__DisplayClass2.&lt;DoRethrowWithCatchException&gt;b__0()
     at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The connection to the server has been lost. The application will close.
StackTrace:
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, Exception e, Int32 messageNumber, String sessionId)
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.DrilldownField(NavRecordState&amp; state, Int32 fieldId, Int32 drilldownFormId, NavDataSet recDataSet, String controlTriggerMethodName)
     at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.DrillDownField(Int32 fieldId, Int32 drillDownFormId, String personalizationId, String triggerName)
     at Microsoft.Dynamics.Nav.Client.Actions.NavDrilldownAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.Invoke(LogicalControl logicalControl)
     at Microsoft.Dynamics.Nav.Client.Actions.NavigateToStackAction.InvokeCore(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.InvokeCoreWithErrorHandling(Boolean async, LogicalControl logicalControl, Object state, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.DoInvoke(LogicalControl logicalControl, UISession uiSession)
     at Microsoft.Dynamics.Framework.UI.Action.Invoke(LogicalControl logicalControl)
     at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.NavigateToNode(LogicalControl logicalControl, NavigationNode node)
     at Microsoft.Dynamics.Framework.UI.UX2006.NavigationPaneLogicalControl.OnNavigate(NavigationEventArgs e)
     at Microsoft.Dynamics.Framework.UI.NavigationControlBase.Navigate(Object node)
     at Microsoft.Dynamics.Framework.UI.WinForms.NavigationPaneControlAdapter.navigationPaneBarNavigate(Object sender, NavigationPaneNavigateEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.OnNavigate(NavigationPaneNavigateEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.treeView_Navigate(Object sender, NavigationNodeEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnNodeSelected(NavigationNodeEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.navTreeNode_Selected(Object sender, EventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnSelected(EventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.Select()
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.NavTreeNode.OnClicked(MouseLocationEventArgs e)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnMouseUp(MouseEventArgs e)
     at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)
     at System.Windows.Forms.Control.WndProc(Message&amp; m)
     at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.WndProc(Message&amp; m)
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
----------------------------------
Type: System.ServiceModel.FaultException
Action: schemas.microsoft.com/.../fault
Message: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug&gt; configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
StackTrace:
 
  Server stack trace:
     at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 
  Exception rethrown at [0]:
     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
     at Microsoft.Dynamics.Nav.Types.INavService.DrillDownField(FieldRequest fieldRequest, NavRecordState dataSetState)
     at Microsoft.Dynamics.Nav.Client.ServiceConnection.&lt;&gt;c__DisplayClass41.&lt;DrilldownField&gt;b__40()
     at Microsoft.Dynamics.Nav.Client.ServerCallContext`1.InvokeCall(Object instance)
     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
 
  Exception rethrown at [1]:
     at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData&amp; msgData)
     at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)
     at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
     at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
Source: mscorlib
</Data>
  </EventData>
</Event>

*This post is locked for comments

  • Suggested answer
    Alex A Profile Picture
    Alex A 2,348 on at
    RE: RTC ends with connection to server lost after error on the NAV server

    Hi tdurbicepts. We see this issue from time to time. As I suggested, you only need to restart the MS Dynamics Server service. You usually don't need to restart the whole server.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: RTC ends with connection to server lost after error on the NAV server

    Thank you and the others for the replies. All suggest restarting the NAV service and/or the NAV service server. Additional suggestion to recompile is helpful. Trouble is intermittent so time will tell if restarting the server will address the issue fully. Thanks again.

  • Verified answer
    Ashwini Tripathi Profile Picture
    Ashwini Tripathi 4,624 on at
    RE: RTC ends with connection to server lost after error on the NAV server

    If it was working earlier with no issues, and without any changes you started getting this error the best way to get rid of it will be:

    Restart your Service Tier Server, Note Shutdown & Restart is different.

    One cause could be due to any pending Updates to Server.

    When you Restart the System it applies the pending updates, which could be one of the reason to your issue.

    If still you get same, try compiling the objects may be due to any reason some sync issue. Although very less chance in this case.

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: RTC ends with connection to server lost after error on the NAV server

    Hello tdurbicepts,

    Do this

    Stop the Microsoft Dynamics NAV Server [service].

    Restart the PC that has services.

    After starting PC start the Microsoft Dynamics NAV Server [service] if not started.

  • Suggested answer
    Alex A Profile Picture
    Alex A 2,348 on at
    RE: RTC ends with connection to server lost after error on the NAV server

    Restart the Microsoft Dynamics NAV Server [service]. It should resolve the issue.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans