The user login used to start AX 2012 service needs to be added db_owner and public SQL database roles. This can be done in SQL Server Management Studio. Open object explorer -> Security -> Logins. look for the used user and right click for properties. Navigate to AX 2009 database and add db_owner and public roles.