Hi All,
We are using AX 2012 R3 CU8.
When I check event viewer in the AOS server I can see an error related to deadlock listed bellow
"Object Server 01: Microsoft.Dynamics.Ax.Xpp.DeadlockException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.DeadlockException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.UpdateAll(IntPtr table)
at Dynamics.Ax.Application.BatchRun.serverProcessDependencies(Boolean forceProcessing, Boolean ) in BatchRun.serverProcessDependencies.xpp:line 152
at Dynamics.Ax.Application.BatchRun.serverGetTask(Batch batch, String serverId) in BatchRun.serverGetTask.xpp:line 43
at BatchRun::serverGetTask(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.startTask()
at BatchIL.threadFunc(Object threadArg) "
I didnt find any issues in AX and its working normal, please advice how to identify and rectify this error
*This post is locked for comments
Hi John,
Can you reproduce the deadlock issue? If so, you can consider to use SQL Profiler to capture information about deadlock by category "Locks". It will tell you which resource was locked and the related query so that you can have some clues about this issue.
Best regards,
Ada
This is a Deadlock error in your SQL server database when a row is locked and something else is trying to access it, while it is holding resources that the other task requires.
technet.microsoft.com/.../ms177433(v=sql.105).aspx
Maybe you have too high number of batches, or batch threads, or number of batch AOS instances? That may lead to deadlocking in the Batch table
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,782 Super User 2024 Season 2
Martin Dráb 229,067 Most Valuable Professional
nmaenpaa 101,150