Change based alert is not working due to Failed to create session error

Hi All,

Change base alert is not working in system.

I have restarted AOS and successfully compiled the system, generate incr CIL, full CIL and synchronization.

All other batches are working fine. only change base alert is giving the following error. Change base alert setups parameters are also verified.

Infolog for task Change based alerts processing task (5649241229)

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 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)

Please help in this regards

Could you please try deleting records from the alert log table by taking the back up of them and try to send alerts to see if it works…

Hi Tulasi,

Do you have just one partition or more? Check if the user who runs the batch job has correct login information in all partitions.