web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    237,679 Most Valuable Professional on at
    RE: Batch job unable to execute the business logic on batch server

    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
    237,679 Most Valuable Professional on at
    RE: Batch job unable to execute the business logic on batch server

    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
    RE: Batch job unable to execute the business logic on batch server

    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
    RE: Batch job unable to execute the business logic on batch server

    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

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

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans