Here's something new to think about.
We run the change based alerts batch job every 5 minutes daily.
On 28/01/2019 it ran in total 50times, 5 of these failed (status Error).
Full infolog output:
Infolog for Job Change based alerts (5637243922)
Infolog for Task Change based alerts processing task (5637187592)
Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics.
Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.createRunAsSession(String userId, String company, String language)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runas(String userId, Int32 classId, String staticMethodName, Object[] parms, String company, String language)
at Dynamics.Ax.Application.EventJobCUDTask.Run() in EventJobCUDTask.run.xpp:line 24
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 50
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)
We have just started the AOS (during production hours, it's a stretch to take the system out of operation to do a CIL compile).
Since the restart the job has run 6 times with success and failed once.
Note that we did a full compile (Admin > Periodic > Compile Application), CIL compile, and AOS reset last week and this batch job was still failing (3% of the time on 28/02/2019).
Any help on this ?
Regards,
Rahul Singh Rathod
*This post is locked for comments