Question Status

Verified
Jes Gudiksen asked a question on 27 Jun 2013 11:06 PM

Hi.

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 :)

Reply
Tommy Skaue responded on 28 Jun 2013 12:19 AM

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%.

Reply
Jes Gudiksen responded on 28 Jun 2013 12:24 AM

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 :)

Reply
Tommy Skaue responded on 28 Jun 2013 12:27 AM

Which form is this?

I've seen labels drop out before, but a restart of the AOSes (if multiple) have fixed that before.

Reply
Jes Gudiksen responded on 28 Jun 2013 12:36 AM

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.

Reply
Jes Gudiksen responded on 28 Jun 2013 12:43 AM

1 thing to add, FOundation label was not installed from beginning, but by running installtion again and choose modify installation.

Reply
Verified Answer
Tommy Skaue responded on 28 Jun 2013 1:06 AM

Oh. Then you must have been bit by "the order of things". Try create a new Job and run this static method named

DirDataPopulation::populateDirData();

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!!!

Reply
Jes Gudiksen responded on 28 Jun 2013 1:56 AM

Probloem solved ty. Deleting data in tables populated by DirDataPopulation::populateDirData(); and then run method fixed most of the problems. Thx

Reply
Tommy Skaue responded on 28 Jun 2013 2:04 AM

Glad I could help. Thanks for marking the answer!

Reply
Himanshu Kotnala responded on 14 Oct 2014 10:15 AM

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. 

 

Reply
Rudi Yanto responded on 15 Oct 2014 3:01 AM

Sorry,

i want to ask How to run DirDataPopulation::populateDirData();  ?

Reply
Verified Answer
Tommy Skaue responded on 28 Jun 2013 1:06 AM

Oh. Then you must have been bit by "the order of things". Try create a new Job and run this static method named

DirDataPopulation::populateDirData();

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!!!

Reply