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
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.
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.
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.
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).
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156