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

Community site session details

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

Lost connection with Microsoft Dynamics NAV 2018

(0) ShareShare
ReportReport
Posted on by

We have random users who suddenly lose connection with the Dynamics server.

Investigating in the NAV-SERVER Event Viewer, I have found that a specific user told me that the NAV closed suddenly and I could see this:

The description for Event ID 218 from source MicrosoftDynamicsNavServer$-PRO-NAV cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Server instance: PRO-NAV
Tenant ID:
<ii>User: domain\user
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException
Message: <ii>The server stopped the session (ID: 57) because of a stop session request.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
at Microsoft.Dynamics.Nav.Runtime.NavForm.RaiseOnAction(String actionName, String actionTriggerMethodName)
at Microsoft.Dynamics.Nav.Service.NSField.ActionField(NavSession con)
at Microsoft.Dynamics.Nav.Service.NSField.Action(NavSession session)
at SyncInvokeActionField(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, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_0.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_0.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
----------------------------------
Type: System.Reflection.TargetInvocationException
Message: <ii>Exception has been thrown by the target of an invocation.</ii>
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, Boolean resolveHandler, Boolean throwOnNotFound)
Source: mscorlib
HResult: -2146232828
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException
Message: <ii>The server stopped the session (ID: 57) because of a stop session request.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.SessionAccessLock.ThrowSessionTerminatedException()
at Microsoft.Dynamics.Nav.Runtime.NavSession.ThrowSessionTerminatedExceptionIfStoppingOrDisposed()
at Microsoft.Dynamics.Nav.Service.ResultWaiter`1.ThrowDisposedException()
at Microsoft.Dynamics.Nav.Service.ResultWaiter`1.WaitForValue()
at Microsoft.Dynamics.Nav.Service.ClientContractWrapper.InvokeInnerContract(Action`1 action)
at Microsoft.Dynamics.Nav.Service.ServiceCall.<>c__DisplayClass12_0.<GetClientReturnValue>b__0()
at Microsoft.Dynamics.Nav.Types.NavThread.RunExternalAction[T](Func`1 action)
at Microsoft.Dynamics.Nav.Service.ServiceCall.GetClientReturnValue(Action invokeCallback)
at Microsoft.Dynamics.Nav.Service.NSClientCallback.DataSetPageReady(DataSetRequest request)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReportInternal(NavRecord record, Boolean displayResult)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean runReportModal, NavRecord record, IList`1 reportTextualFilters, RunMode mode)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Int32 reportId, Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean isRunningAsModal, NavRecord record, IList`1 textualFilters, RunMode runMode)
at Microsoft.Dynamics.Nav.BusinessApplication.Record112.PrintRecords_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Record112.PrintRecords(Boolean showRequestForm)
at Microsoft.Dynamics.Nav.BusinessApplication.Record112.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.BusinessApplication.Record112.PrintRecords_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Record112.PrintRecords(Boolean showRequestForm)
at Microsoft.Dynamics.Nav.BusinessApplication.Record112.OnInvoke(Int32 memberId, Object[] args)
at Microsoft.Dynamics.Nav.BusinessApplication.Page143.Print_a45_OnAction_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Page143.Print_a45_OnAction()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
</ii>

the message resource is present but the message is not found in the string/message table

Can someone guide me where the problem comes from and what should I do?

A greeting and thanks in advance.

I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    on at
    RE: Lost connection with Microsoft Dynamics NAV 2018

    Very important in this scenario is

    a. Be sure to have NAV 2018 fully patched at least with platform (latest CU 34 link https://www.microsoft.com/en-US/download/details.aspx?id=102133)

    b. Be sure to have disabled deadlock detection in customsettings.config file

    c. Be sure to have your supported SQL Server version fully patched (latest SP and CU).

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,846

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,683 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 2,214 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans