The user process has terminated unexpectedly. Check the Windows Event Viewer.

srinivas_dynamics
Member Posts: 41
Hi All,
I'm getting error while posting sales order using Background Posting i.e., Job Queue.
Error in Job Queue:
Microsoft Dynamics NAV
The user process has terminated unexpectedly. Check the Windows Event Viewer or the Session Event table for more information.
OK
Event Log for the Error:
Server instance: DynamicsNAV90
Tenant ID: default
Session type: Background
Session ID: 46
User: DOMAIN\hyd1
Type: Microsoft.Dynamics.Nav.Types.NavTestFieldException
FieldName: Status
TableName: Job Queue Entry
SuppressMessage: False
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message: Status must be equal to 'In Process' in Job Queue Entry: ID={45E56CFC-88C3-4A62-A2EA-78F45DAA4CD8}. Current value is 'Error'.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavRecord.TestFieldError(NCLMetaField metaField, String shouldBeValue)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.TestFieldEquals(NCLMetaField metaField, Int32 testValue)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.Process_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.Process(INavRecordHandle jobQueueEntry)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.OnRun_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.OnRun(INavRecordHandle εrec)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.DoRun(DataError errorLevel, NavRecord record)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.InvokeRun(Int32 objectId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.ALSession.RunCodeunitAndDisposeSession(NavSession session, Int32 codeUnitId, NavRecord record)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
Please help to solve the issue.
Thanks in advance,
Srinivas.
I'm getting error while posting sales order using Background Posting i.e., Job Queue.
Error in Job Queue:
Microsoft Dynamics NAV
The user process has terminated unexpectedly. Check the Windows Event Viewer or the Session Event table for more information.
OK
Event Log for the Error:
Server instance: DynamicsNAV90
Tenant ID: default
Session type: Background
Session ID: 46
User: DOMAIN\hyd1
Type: Microsoft.Dynamics.Nav.Types.NavTestFieldException
FieldName: Status
TableName: Job Queue Entry
SuppressMessage: False
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message: Status must be equal to 'In Process' in Job Queue Entry: ID={45E56CFC-88C3-4A62-A2EA-78F45DAA4CD8}. Current value is 'Error'.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavRecord.TestFieldError(NCLMetaField metaField, String shouldBeValue)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.TestFieldEquals(NCLMetaField metaField, Int32 testValue)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.Process_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.Process(INavRecordHandle jobQueueEntry)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.OnRun_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit451.OnRun(INavRecordHandle εrec)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.DoRun(DataError errorLevel, NavRecord record)
at Microsoft.Dynamics.Nav.Runtime.NavCodeunit.InvokeRun(Int32 objectId, Object[] args)
at Microsoft.Dynamics.Nav.Runtime.ALSession.RunCodeunitAndDisposeSession(NavSession session, Int32 codeUnitId, NavRecord record)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2146233088
Please help to solve the issue.
Thanks in advance,
Srinivas.
Thanks in advance,
Srinivas.
Srinivas.
0
Answers
-
System is complaining about the status which is actually handled internally, You need to check it out what exactly is attempting to change it, Try executing a ob Queue manually and then see if it still have the same problemThanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions