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 :
Microsoft Dynamics AX (Archived)

TFS build failed

(0) ShareShare
ReportReport
Posted on by

Hi All,

When I triggered the build in my TFS server, I got the below error in the log.

Can anyone suggest how to overcome the issue.

57574.Capture.PNG

Regards,

Aravind Reddy

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,876 Most Valuable Professional on at

    Please tell us what kind of build activity you're using and with what parameters. Consider runming it in an interactive window, to see what happens.

    If you get the same problem with any command using AX client, you probably have a problem with authentication, with the customer satisfaction dialog or so something like that.

  • Community Member Profile Picture
    on at

    Hi Martin,

    I didn't get what you mean by what kind of build activity.

    Can you please clarify on this.

    Regards,

    Aravind Reddy

  • Martin Dráb Profile Picture
    237,876 Most Valuable Professional on at

    Team Foundation Build merely runs what you tell it to run. The workflow is built from activities (such as "compile" and "run script") and control structures (such as "if/else").

    According to the picture, you have a problem in a activity called "Import XPO", implemented as a class in FcsAxTfsActivitiers namespace. But that may be anything - if you don't tell us what your code does, how can we tell what you have wrong there?

    TFS doesn't contain any activities for Dynamics AX, therefore you either downloaded them from somewhere or developed them by yourself. If you know nothing about these things, you should ask the person who prepared it for you. He/she will also help you to debug it.

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi Aravind

    Open AX Env using from the Build ( I guess Base Env ) and import the XPO that contains all the Objects coming from TFS.

    In this way you are able to see the real error.

    Probably AX raise an error and ask an user interaction.

    After 60 minutes goes in timeout.

  • Community Member Profile Picture
    on at

    Hi Denis,

    I have imported the XPO in to Build environment manually. And it was imported successfully.

    But even after that also again I have triggered the build

    again the same issue happening.

    Can you please suggest how to resolve the issue.

    Regards,

    Aravind Reddy

  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi Aravind

    How much time took the import?

    What is the timeout setup to the TFS Template used from the Build?

    In order to import the XPO, did you use the same syntax used from the Build?

  • Community Member Profile Picture
    on at

    Hi Denis,

    It took more than an hour to import and I have imported it bu opening the AOT and import option I have choosen to import the xpo.

    And when I chcked my old successful build's log I can see the time out was set to 60 minutes.

    Regards,

    Aravind Reddy

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi Aravind

    This is the issue.

    You have to modify the TFS Build Template and increase the Timeout.

  • Suggested answer
    Koen Roks Profile Picture
    on at

    Hi Arravind,

    This is typicaly a issue with a table or view that is causing a sync error during the import. Try to import the xpo created by the build manually and see if you get any issues.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans