Recently we were confronted with the following situation during importing a new license file into Dynamics AX 4.0.
During the import of the license file the Dynamics AX Client crashes. After a restart of the Dynamics AX Client no dialog can be opened. A permission error message is shown instead.
This is because the original license file had Domain functionality, while the new licenese file has no Domain functionaitly. At the time of import several Domains were configured. As a result of the import records in the table ACCESSRIGHTSLIST have to be converted.
During this convert an unexpted error happens and the "convert" of the records in the table is rolled back. Right now we have already inconsistent data in this table. Because of this inconsistency Dynamics AX Client crashes and shows the permission error messages after a restart.
To solve the permission error Dynamics AX has to be put back in "DEMO mode" by deleting all records in the table SYSCONFIG having CONFIGTYPE =0, =1 and =2. After that the original License file has to be reimported.
To solve the license import issue two options exist:
- Buy a new license file that includes Domain functionality so no conversion in ACCESSRIGHTSLIST needs to be done
- Delete all Domains (besides Admin) before importing the the license file without Domain functionalty so the conversion of ACCESSRIGHTSLIST succeeds