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

Batch job unable to execute the business logic on batch server

(0) ShareShare
ReportReport
Posted on by 550

Hi Folks,

I am facing an issue in Dynamics Ax 2012 R3 where we have performed integeration using web services with Microsoft Dynamics CRM. We have created certain RunBase batch classes to push data from AX into CRM consuming their web services. These batch jobs are working fine until we don't execute them into batch processing server. When we are executing same batch jobs on batch server so that  they can run automatically with recurrence they are not doing the desired task.

Can someone help me with this.?

Thanks in advance!

*This post is locked for comments

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

    Hi karan, please separate tags with comma, words with spaces and don't prefix tags with #. You created a single long tag #MicrosoftDynamics#CRM#BatchServer#WebServies (I'm going to fix it for you this time).

  • Martin Dráb Profile Picture
    240,534 Most Valuable Professional on at

    Use the debugger to find out what's failing in the batch. If you don't know how, refer to Debugging in Microsoft Dynamics AX 2012 > Batch Jobs.

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    If you are using external assembly/DLL that is not compatible with the 64-bit server environment, or you forgot to build CIL, it could all be valid causes.

    I have published an article about troubleshooting potential problems with batch jobs, have a read and make sure you would pass all points:

    www.daxrunbase.com/.../troubleshooting-batch-jobs-in-ax

    The last resort is to debug what is failing as suggested by Martin.

  • Soren Andersen Profile Picture
    530 on at

    Any error messages in the info log for the batch job? Any related application eventlog errors on the batch aos.?

    Either you are batch classes are not coded correctly, so they will not run in batch - so you call client side code - or are missing some asserts.

    Or try to start a client on the batch aos - if the batch jobs fails there, when you run the interactively - then it is probably some firewall security issues. AOS are often more secured then servers running Ax clients.

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans