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, ...
Unanswered

Error when build the label file

(0) ShareShare
ReportReport
Posted on by 35

Hello all,

I'm trying creating a label file. However, I got an error when build the project as below

pastedimage1602646653015v1.png

pastedimage1602646712170v2.png

I'm using VS2017.

Please help me to solve this issue.

Thanks in advance,

Phuc

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi PhucNguyen

    1 . Close the Visual Studio.

    2. Go to path C:\users\administrator\Appdata\local\temp. select all and delete all the files. it is ok if some files are not deleting skip those.

    3. Now restart IIS Service.

    4. Now open visual studio and try again.

    One point i need to confirm here did you add this label file to source control?

  • WillWU Profile Picture
    22,361 on at

    Hi PhucNguyen,

    Please check the log file: At you local VM:“C:\AOSService\PackagesLocalDirectory\[Your_Model]\CompileLabels.xml” or in the log folder of your build machines agent.

    One issue that can cause this error are duplicates in label files, as two or more rows with the same label id.

    If you are using DevOps, you could do a merge operation to fix it.

    See the article about the same issue :blog.johanpersson.nu/

  • PhucNguyen Profile Picture
    35 on at
    [quote user="AKHILESH KUKSHAL"]

    Hi PhucNguyen

    1 . Close the Visual Studio.

    2. Go to path C:\users\administrator\Appdata\local\temp. select all and delete all the files. it is ok if some files are not deleting skip those.

    3. Now restart IIS Service.

    4. Now open visual studio and try again.

    One point i need to confirm here did you add this label file to source control?

    [/quote]

    I did all steps but it don't work.

    I just create a new label file, don't add to any source control.

  • PhucNguyen Profile Picture
    35 on at
    [quote user="Will WU"]

    Hi PhucNguyen,

    Please check the log file: At you local VM:“C:\AOSService\PackagesLocalDirectory\[Your_Model]\CompileLabels.xml” or in the log folder of your build machines agent.

    One issue that can cause this error are duplicates in label files, as two or more rows with the same label id.

    If you are using DevOps, you could do a merge operation to fix it.

    See the article about the same issue :blog.johanpersson.nu/

    [/quote]

    I don't see that CompileLabels.xml file

    pastedimage1602664601418v1.png

    And as the top post, I created a new label file so there no duplicates in the file.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi PhucNguyen,

    Can you try editing an existing label file in Fleet Management model and check if you are able to do so?

  • Nguyen Phuc Profile Picture
    on at
    [quote user="Gunjan Bhattacharyya"]

    Hi PhucNguyen,

    Can you try editing an existing label file in Fleet Management model and check if you are able to do so?

    [/quote]

    Not edit, just build the existing label file and it's still error

    pastedimage1602667764555v1.png

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi PhucNguyen,

    Do you have enough disk space and memory on the server? If not, can you try increasing both and try again?

  • Community Member Profile Picture
    on at

    Instead of building the Solution. Can you build the complete model + DB Synch and check if issue is still coming?

  • WillWU Profile Picture
    22,361 on at

    Hi Nguyen Phuc,

    Please try to do a full build on FleetManagement.

  • PhucNguyen Profile Picture
    35 on at

    I re-installed the VS and the error has gone.

    Btw, thank all.

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans