Check for event viewer log as well.
Mostly the issue is in connection with dependency service like SQL server RPC
Also check the AOS user account is having the db_datareader, db_datawriter and db_dbladmin rights to all the Dynamics AX databases in SQL server.