Often time, we might get the annoying error message saying 'AOS service fails to start with error code specific 100. ' (Unable to start the AOS services).
To make sure to have smooth installation of the AX, it is recommend that :
1. Create the AX database by using the AX setup program, or
2. Create this login manually and grant it access to the database.
sp_grantlogin and sp_grantdbaccess will do the trick :
EXEC sp_grantlogin 'NT AUTHORITY\NETWORK SERVICE'
EXEC sp_grantdbaccess 'NT AUTHORITY\NETWORK SERVICE', 'Your_Axapta_DB'
In some of the weired cases, it was cases that it was nessesary to create a login for the computer hosting the AOS service, such as MACHINE_NAME$ on the SQL server.
NOTE: Make sure that the MACHINE_NAME$ on the SQL server is the name where your AX application is installed.
NOTE2: Do remember to grant permission to createserversessions and createusersessions as well.