Our support engineers have assembled the top recommended solutions for you.
Microsoft Dynamics AX 2012CRM Connector in Microsoft Dynamics AX 2012Financials Management in Microsoft Dynamics AX 2012Upgrading to Microsoft Dynamics AX 2012
Microsoft Dynamics AX 2009
Application Object Server (AOS)
Enterprise Portal and Role Centers
Inventory Costing in Microsoft Dynamics AX 2009
Invoice Settlements/Discounts/Reversals
SSRS and SSAS Integration
Workflow
I am searching an HowTo to do the following:
I want to import the AX LiveSystem from our customer in our Test-Environment, but we want to use our license keys.
So we do the following:
- import DB in our server
- add aos_service
- patch the SID from admin in userInfo
update userinfo set SID='S-1-5-21-111111111-1111-11111111-111',
Networkdomain = 'developer',
networkalias = 'administrator'
where id = 'admin'
- add the other user from the domain and add it to the admin group
- start AOS and login with the admin-user
- import licensefile
- AOT sync()
After this we will get the message "insufficent access wrights" and the tables will be deleted....
Whats wrong?
Can anybody help and tell me how's the right way...
ciao
Gerald
What's the AX version? Do you get any warnings between importing a license file and AOT synchronization? Did AX warn you that it was going to delete some license keys and thus disable some configuration keys?
AX2009
My infolog output:
Info Meldung (08:22:34) Lizenznehmer 'Abc'
Info Meldung (08:22:34) Seriennummer '123456'
Info Meldung (08:22:34) Ablaufdatum 05.08.2013
Info Meldung (08:22:34) Korrekter Lizenzcode für 'Basispaket' geladen.
...
Info Meldung (08:22:34) Korrekter Lizenzcode für 'Windows MorphX-Entwicklungssuite' geladen.
Info Meldung (08:22:34) Korrekter Lizenzcode für 'X++-Quellcode' geladen.
Info Meldung (08:22:34) Korrekter Lizenzcode für 'BUS-Schichtlaufzeit' geladen.
Info Meldung (08:22:34) Korrekter Lizenzcode für 'VAR-Schichtlaufzeit' geladen.
Warning Meldung (08:22:34) Lizenzwert für 'Kennung 156' wurde nicht erstellt.
Warning Meldung (08:22:34) Lizenzwert für 'Kennung 154' wurde nicht erstellt.
Error Meldung (08:22:34) Benutzer 'GH' ist nicht autorisiert, einen Datensatz in Tabelle 'SYSCONFIG' zu löschen. Die Anforde
Error Meldung (08:22:34) Ein Datensatz in Configuration keys (SysConfig) kann nicht bearbeitet werden.
Zugriff verweigert: Sie verfügen nicht über die erforderlichen Berechtigungen, um Daten in der Datenbank zu ändern.
The licensecode for VAR and BUS goes wrong, but they arent in this file...
Is this the reason for the error, why I havent access to the SysConfig?
Looks like the error occurs somewhere in \Classes\SysLicenseCodeReadFile\serverProcessing. Can you verify that it's not customized in the application? By the way, which kernel version do you use?
5.0.1000.52 = AX2009 SP1 Properties from ax32serv.exe
last sysconfig.value = 5.0.1000.52
And I have tested to import the orig licensefile from the cusomer, it fails....the same error.
SysLicenseCodeReadFile::serverProcessing() calls SysLicenseCodeReadFile::deleteCodes() and it looks like the error occurs within this method when the AOS performs an access rights check according to the AOSAuthorization property value of the table (for SysConfig table it's CreateUpdateDelete). There was at least one kernel hotfix related to the AOSAuthorization check (KB2547903) since SP1 release, so try using a newer kernel build, say RU8. You can always revert back to SP1 kernel after you have fiinshed importing new license file.
I've testet it, but the same result.
BUT, it would be easier as you think.....
You have only to exchange the two tables SysLicenseCodeSort, SysConfig :)