This could be due to a recent change in the Application Database. Have you, by any chance changed or moved the AX application DB? may be a migration? From the error log, it seems like the AOS is mapped to a previous Batch Server Configuration. Or an old DB that doesn’t exist or have probably been moved or even renamed.
If that is the case, then try Executing these commands on the DB Level:
Select * from dbo.BATCHSERVERGROUP
–Update BATCHSERVERGROUP set SERVERID = ‘01@NewAOS’ where SERVERID =‘02@OldAOS’
Select * from BATCHSERVERCONFIG
–Update BATCHSERVERCONFIG set SERVERID = ‘01@NewAOS’ where SERVERID =‘02@OldAOS’
Select * from SYSCLUSTERCONFIG
–Update SYSSERVERCONFIG set SERVERID = ‘01@NewAOS’ where SERVERID =‘02@OldAOS’
Select * from SYSSERVERSESSIONS
–Delete dbo.SYSSERVERSESSIONS
Select * from BATCH
–Update BATCH set SERVERID = ‘01@NewAOS’ where SERVERID = ‘02@OldAOS’
Select * from SYSCLIENTSESSIONS
–delete SYSCLIENTSESSIONS
Can you please tell me what is reason for deleting all the records from these 2 tables?
SYSSERVERSESSIONS
SYSCLIENTSESSIONS
In my case, the SYSSERVERSESSIONS table had 2 records, i deleted the wrong one and right now i have only one record, which represents the right AOS. Should i delete it? If so, kindly tell me why?