Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Batch Job stuck in Executing and errored out later

(0) ShareShare
ReportReport
Posted on by 463
Hi everyone,
 
We have a Dev machine and the latest changes sets will be moved through automated process where the deployable packages will deployed to it twice a day. So, for one of the testing, we have ran a batch job that was at Executing state and it generally take few hours to complete. While this is executing the deployment happened and it got stuck with executing state and errored out after couple of hours with out any log.
 
So, my question is Has it got stuck in the Executing state and didn't revive after the deployment as the Package deployment happened when the machine went down and obviously the batch service also goes down along with it?
 
Can anyone guide me on how to trouble shoot this batch job as it didn't even had any log?
 
FYI... No developer will have access to this machine's Remote desktop login.
 
Regards,
Chiranjeevi.
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    Alireza Eshaghzadeh 13,564 Super User 2025 Season 1 on at
    Batch Job stuck in Executing and errored out later
    Hi Vermal,
    You can try activating "Enhanced batch abort" and try to abort the batch job and start it again, if the batch AOS service is running. This can help to stop batch job that may affect on stopping the batch service.
    If the batch job service is down, you need to start the batch service from the RDP that you mean that you dont have access.
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Batch Job stuck in Executing and errored out later
    Hi,
    The deployment process can cause resource conflicts, causing batch jobs to stall. If the deployment process involves restarting the batch service, ongoing batch jobs may be interrupted. You can try the method mentioned by Ramit. You can also try checking the system logs for any error messages or events related to the batch job and deployment process.
    Best Regards,
    Hana
  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 22,313 Most Valuable Professional on at
    Batch Job stuck in Executing and errored out later
    Hi,
     
    If the batch is stuck in execution state, you can cancel the batch and retry.
     
    And if the batch server is not responding, we need to restart the service from VS.
     

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans