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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Error during full build (Upgrade from Ax 2102 to D365)

(0) ShareShare
ReportReport
Posted on by 790

Hi ,

We are upgrading from Ax 2012 to D365 after using the LCS tool for upgrade we have resolved all the conflicts etc.

But there are last few errors of the same type existing in system which we are not able to resolve.

These seem to be related with label but we checked there are no label id conflicts.

Run command <resgen.exe> with arguments <"K:\AosService\PackagesLocalDirectory\ApplicationWorkspaces\ApplicationWorkspaces\AxLabelFile\LabelResources\da\FixedAssets_AssetHubBookPreview.da.label.txt"  "C:\Users\User1cfbd9c1cd8\AppData\Local\Temp\2\m5le0zti.g1f\FixedAssets_AssetHubBookPreview.da.resources">

Run command <resgen.exe> with arguments <"K:\AosService\PackagesLocalDirectory\ApplicationWorkspaces\ApplicationWorkspaces\AxLabelFile\LabelResources\en-GB\FixedAssets_AssetHubBookPreview.en-GB.label.txt"  "C:\Users\User1cfbd9c1cd8\AppData\Local\Temp\2\m5le0zti.g1f\FixedAssets_AssetHubBookPreview.en-GB.resources">

Errors:

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

Run command <resgen.exe> with arguments <"K:\AosService\PackagesLocalDirectory\ApplicationWorkspaces\ApplicationWorkspaces\AxLabelFile\LabelResources\en-AU\FixedAssets_AssetHubBookPreview.en-AU.label.txt"  "C:\Users\User1cfbd9c1cd8\AppData\Local\Temp\2\m5le0zti.g1f\FixedAssets_AssetHubBookPreview.en-AU.resources">

Thanks,

Anoop Tripathi

I have the same question (0)
  • nmaenpaa Profile Picture
    101,172 Moderator on at

    Could you share the error messages?

  • Anoop Tripathi Profile Picture
    790 on at

    Severity

    Code

    Description

    Project

    File

    Line

    Suppression State

    Error

     

    Run command <resgen.exe> with arguments <"K:\AosService\PackagesLocalDirectory\ApplicationWorkspaces\ApplicationWorkspaces\AxLabelFile\LabelResources\da\FixedAssets_AssetHubBookPreview.da.label.txt"  "C:\Users\User1cfbd9c1cd8\AppData\Local\Temp\2\m5le0zti.g1f\FixedAssets_AssetHubBookPreview.da.resources">

     

     

    0

     

    Error

     

    Run command <resgen.exe> with arguments <"K:\AosService\PackagesLocalDirectory\ApplicationWorkspaces\ApplicationWorkspaces\AxLabelFile\LabelResources\en-GB\FixedAssets_AssetHubBookPreview.en-GB.label.txt"  "C:\Users\User1cfbd9c1cd8\AppData\Local\Temp\2\m5le0zti.g1f\FixedAssets_AssetHubBookPreview.en-GB.resources">

     

     

    0

     

    That is the error actually.

    Also we raised a ticket with Microsoft for this and at present they said it is due to low memory space on the dev box server.

    I am not really convinced.

  • Imad B Profile Picture
    20 on at

    Hi Anoop,

    Did you find a solution? I have the same error, i have tried reinstalling D365 Dev tools but errors remains. It was working few days ago i don't know what has changed in the VM now generating for all models containing labels. Only solution is to use another VM. Below is the error:

    Build step: X++ compilation, label generation and resource deployment started.
    Unable to run command: Run command <resgen.exe> with arguments <"C:\Users\Admin2a84768037\AppData\Local\Temp\nftyvttq.qfk\primaryResource.resx" "C:\Users\Admin2a84768037\AppData\Local\Temp\nftyvttq.qfk\CustLabelFile.resources">
    Error: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at Microsoft.Dynamics.AX.Framework.Xlnt.Labels.ProcessTaskRunner.StartAndWait()
    Process: labelc.exe exited with code -1.

    I'm running a devbox with VS 2017 and F&O 10.0.17

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 676

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 635 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 605 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans