Error while doing data upgrade
navdeveloper
Member Posts: 23
Hi,
While doing Tools--Data Upgrade in NAV2017, I am getting the following error. Any help is appreciated.
Server instance: PSLive
Category: Workflow
ClientSessionId: {00000000-0000-0000-0000-000000000000}
ClientActivityId: {00000000-0000-0000-0000-000000000000}
ServerSessionUniqueId: {00000000-0000-0000-0000-000000000000}
ServerActivityId: {00000000-0000-0000-0000-000000000000}
EventTime: 2017-10-21T06:11:43.342324600Z
Message <ii>(NavSessionTerminatedException): <ii>The server stopped the session (ID: 3309) because of a stop session request.
ExceptionStackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.Invoke(Int32 objectId, String methodName, Object[] args)
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)
CallerStackTrace:
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()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
</ii></ii>
ProcessId: 3796
Tag: 00000E6
ThreadId: 81
While doing Tools--Data Upgrade in NAV2017, I am getting the following error. Any help is appreciated.
Server instance: PSLive
Category: Workflow
ClientSessionId: {00000000-0000-0000-0000-000000000000}
ClientActivityId: {00000000-0000-0000-0000-000000000000}
ServerSessionUniqueId: {00000000-0000-0000-0000-000000000000}
ServerActivityId: {00000000-0000-0000-0000-000000000000}
EventTime: 2017-10-21T06:11:43.342324600Z
Message <ii>(NavSessionTerminatedException): <ii>The server stopped the session (ID: 3309) because of a stop session request.
ExceptionStackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavApplicationMethod.InvokeMethod(ITreeObject obj, String methodName, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.Invoke(Int32 objectId, String methodName, Object[] args)
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)
CallerStackTrace:
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()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
</ii></ii>
ProcessId: 3796
Tag: 00000E6
ThreadId: 81
0
Answers
-
Did you increase the SQL Command Timout? (see important note in task 6)...
https://msdn.microsoft.com/en-us/library/dn271668(v=nav.90).aspx1
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions