Wednesday, August 31, 2011

Overwrite license on Dynamics AX 4.0

My first post is regarding an issue I had a couple of weeks back, where AX crashed when overwriting an expired license with a new one (AX 4.0), which resulted in a broken database. After a lot of problems and not working solutions, I finally solved it, and of course I'll share the solution with you guys:
  1. Connect to the database and delete the content of the VALUE field of the first three lines in the SYSCONFIG table
  2. Stop the AOS service
  3. Delete the .aoi file in the appl directory
  4. Run "dir *.auc/s" on the client (deletes all cache files on the computer - you need to be on the drive of your Windows installation)
  5. If it detects any files, run "del *.auc/s" which deletes them.
  6. Start the AOS service
  7. Start the client and import licence again. Accept the synchronization
  8. If AX crashes again during import, do steps 2-6 again and it will work! :)
I've solved this problem successfully on several installations using the approach above, so try it! :)

Regards,
Anders

No comments:

Post a Comment