I Just installed Dynamics AX 2012R2 on SQL 2012. I installed Foundation and Foundation Labels also. Som labels are showing like @SYS305949. i checked the AXSysDa.ALD file which contains this @SYS305949 Danmark ISO Country/Region. So label should be there. I tried to delete *.ali and *.alc files also i tried deleting the ald files and restart AOS server, but nothing helps.
Any help will be appreciated :)
So the label editor doesn't even find the label?
Labels are still loaded from disk, so checking the existence of the label on disk and flushing the index and cache file and then restart the AOS should solve it. You should even find an entry in the Event Log when the AOS is rebuilding the index of the labels.
Only thing left would be the AUC-files under %localappdata%.
I tried searching for @SYS305949 in label editor, and the label is found with the correct translation, but when opening the for i still says @SYS305949, and this goes for all users. Really strange. I will try AUC file even thoug i does not sound like thats the problem since its all users :)
Which form is this?
I've seen labels drop out before, but a restart of the AOSes (if multiple) have fixed that before.
Form DimensionConfigureAccountStructure, MainAccount in midlle collumn, it just shows @sys343426 instead of main Account. Also if opening AdressSetup, and Choose country, all countries are like,
CountryCode, ShortName, LongName.
DNK @syssomecode @sysSomecode
NOR @SYS306193 @SYS306194
No countries in addres setup have working lables.
1 thing to add, FOundation label was not installed from beginning, but by running installtion again and choose modify installation.
Oh. Then you must have been bit by "the order of things". Try create a new Job and run this static method named
If you follow the code, you will notice that further down the road, it loads an XML containing all the languages and their description. However the description is a label. At the time this step is run (during initialization of the system), you need to have the valid language labels prepared and installed. If not, the Dir-tables will be filled with... guess what - the label ID and not the translated string.
Hopefully, running populateDirData will fix it. Test first!!!
Probloem solved ty. Deleting data in tables populated by DirDataPopulation::populateDirData(); and then run method fixed most of the problems. Thx
Glad I could help. Thanks for marking the answer!
Can you post the exact job to be run ( including the deletion job too - which table/ tables are involved ) .I am facing the same problem if user language is En-Us then only label text is showing else label id is getting populated . like in address setup.
Thanks in advance.
i want to ask How to run DirDataPopulation::populateDirData(); ?
As mentioned by you, deleting data in tables populated by DirDataPopulation::populateDirData(); and then running the method fixed this. How did you delete all the data from this tables as this includes some critical table such as company info
How did u deeted the data manually ???