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.

  • daniele scr Profile Picture
    daniele scr 110 on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

    Thanks @ Nikolaos Mäenpää helpful advice

  • Suggested answer
    daniele scr Profile Picture
    daniele scr 110 on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

    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.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

    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.

  • daniele scr Profile Picture
    daniele scr 110 on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

    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.

  • daniele scr Profile Picture
    daniele scr 110 on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

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

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

    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.

  • Suggested answer
    Luke Sha Profile Picture
    Luke Sha on at
    RE: Cannot update the labels - Reset labels for every time AOS restart

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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans