web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Cannot update the labels - Reset labels for every time AOS restart

(0) ShareShare
ReportReport
Posted on by 110

Hi all.

I imported (from file) the new Labels in to AOT ( I see the new file updated in to \bin\Application\Appl\Standard folder), but when I restart the AOS I lost my new labels and I get the empty/previous file.

I tried to deletethe existing file (move in _temporary_Model and delete it) and import again, but my big trouble happen when I restart the AOS, the Label File (and value too) became empty/previous value.

I use Dynamics AX 2012.

I tried to follow this post: https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/199806/label-missing-after-aos-service-restart-in-custom-model-ax-2012-r3/515253 , but unfortunately I continue to have the issue.

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Luke Sha Profile Picture
    on at

    Based on the link you searched, have you verified the label is saved into model store correctly?

  • Mea_ Profile Picture
    60,284 on at

    Do you have multiple AOSes ? try to stop all except one and import label file there. Then restart it and check if it will happen again.

  • daniele scr Profile Picture
    110 on at

    Thanks @ievgen Miroshnikov. I don't have multiple AOS (only one).

  • daniele scr Profile Picture
    110 on at

    Thanks @Luke Sha . I checked and saved in Model store correctly, but when I restart the AOS I lost my labels ang get previous value. I tried to delete from Model Store (from ModelElementLabel) and tried to install again, but issue still exist.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    One thing to try is to delete all .alc and .ali files in the AOS folder.

    So, import the label file in AOT. Stop AOS. Delete .alc and .ali files. Start AOS again.

  • Suggested answer
    daniele scr Profile Picture
    110 on at

    I gathered the info.

    To solve the issue I followed these steps.

    I) Move my Label in _Temporary_Model_ ;

    II) Stop AOS, delete the _Temporary_Model_, delete all files in folder (C:\Program Files\Microsoft Dynamics AX\60\Server\\bin\Application\Appl\Standard) Delete all extensions .ali - .ald - .alc about my Label;

    III) Delete from SQL DELETE FROM ModelElementLabel WHERE ModelElementLabel.Module = 'MyLabelPrefix';

    IV) Clean auc (C:\Users\\AppData\Local) file about my user (I think this is not mandatory);

    V) Start AOS and install my Labels twice and check by SQL query SELECT * FROM ModelElementLabel WHERE ModelElementLabel.Module = 'MyLabelPrefix' if I correctly loaded (if I have the right values in Text field)

    If I have more than one language, I repeat step V , Importand is to obtain in SQL Table ModelElementLabel the right values.

    In my opinion, I seem to have had corrupt files.

    Thanks all for advices.

  • daniele scr Profile Picture
    110 on at

    Thanks @ Nikolaos Mäenpää helpful advice

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans