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

Notifications

Announcements

Community site session details

Community site session details

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

The server stopped the session

(0) ShareShare
ReportReport
Posted on by 143

Hii Everyone,

when i am trying dataupgrade in BC14 ten i get this error 

The Error Msg

pastedimage1675318387448v1.png

In event Viewer Msg 

Server instance: BC140
Tenant ID:
User:
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavUpgradeCodeunitExecutionException
SuppressMessage: False
ContainsPersonalOrRestrictedInformation: True
DiagnosticsSuppress: True
DiagnosticsMessage: Message not shown because the NavBaseException(string, Exception, bool) constructor was used.
MessageWithoutPrivateInformation: Message not shown because the NavBaseException(string, Exception, bool) constructor was used.
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message: The function CreateJobWebServices in the company initialization codeunit 104000 in company CRONUS India Ltd. has failed due to the following error: 'The server stopped the session (ID: 330) because of a stop session request.'.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavUpgradeCodeunit.InvokeCodeunitMethod(String methodName, String companyName, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavExecuteUpgradeCodeunitMethodActivity.RunUpgradeMethod(NavSession navSession)
at Microsoft.Dynamics.Nav.Runtime.NavWorkflowTenantSessionManager.Microsoft.Dynamics.Nav.Runtime.INavWorkflowTenantSessionManager.RunActionInSystemSession(Action`1 action)
at Microsoft.Dynamics.Nav.Runtime.NavExecuteUpgradeCodeunitMethodActivity.ExecuteAsync()
at Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass10_0.<StartNewTask>b__0(Object _)
at System.Threading.Tasks.Task.Execute()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavUpgradeCodeunit.InvokeCodeunitMethod(String methodName, String companyName, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavExecuteUpgradeCodeunitMethodActivity.RunUpgradeMethod(NavSession navSession)
at Microsoft.Dynamics.Nav.Runtime.NavWorkflowTenantSessionManager.Microsoft.Dynamics.Nav.Runtime.INavWorkflowTenantSessionManager.RunActionInSystemSession(Action`1 action)
at Microsoft.Dynamics.Nav.Runtime.NavExecuteUpgradeCodeunitMethodActivity.ExecuteAsync()
at Microsoft.Dynamics.Nav.Runtime.NavTaskFactory.<>c__DisplayClass10_0.<StartNewTask>b__0(Object _)
at System.Threading.Tasks.Task.Execute()
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException
MaxVerbosity: Normal
Message: The server stopped the session (ID: 330) because of a stop session request.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.Invoke(ITreeObject parent, Int32 objectId, String methodName, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavUpgradeCodeunit.InvokeCodeunitMethod(String methodName, String companyName, Object[] args)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args, Boolean resolveHandler, Boolean throwOnNotFound)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.Invoke(ITreeObject parent, Int32 objectId, String methodName, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavUpgradeCodeunit.InvokeCodeunitMethod(String methodName, String companyName, Object[] args)
----------------------------------
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, Boolean resolveHandler, Boolean throwOnNotFound)
Source: mscorlib
HResult: -2146232828
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)
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException
MaxVerbosity: Normal
Message: The server stopped the session (ID: 330) because of a stop session request.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.SessionAccessLock.ThrowSessionTerminatedException()
at Microsoft.Dynamics.Nav.Runtime.SessionShutdownExecutionListener.ProcessStatementHit(NavMethodScope methodScope)
at Microsoft.Dynamics.Nav.Runtime.ExecutionListener.CompoundExecutionListener.ProcessStatementHit(NavMethodScope methodScope)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104000.CreateJobWebServices_Scope.OnRun()
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104000.CreateJobWebServices()
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.SessionAccessLock.ThrowSessionTerminatedException()
at Microsoft.Dynamics.Nav.Runtime.SessionShutdownExecutionListener.ProcessStatementHit(NavMethodScope methodScope)
at Microsoft.Dynamics.Nav.Runtime.ExecutionListener.CompoundExecutionListener.ProcessStatementHit(NavMethodScope methodScope)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104000.CreateJobWebServices_Scope.OnRun()
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104000.CreateJobWebServices()

thanks & rgd

Johnson

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    If you are not getting further responses from the community, please consider to raise a ticket to Microsoft via your partner or CSP.

    Thank you.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 745 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 530

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans