AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.04.2022, 18:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
dynamicsaxtraining: Batch task can’t start (AX 2012)
Источник: https://www.dynamicsaxtraining.com/k...-start-ax-2012
==============

Recently I’ve struggled with the following issue on the DAX 2012: the batch headers are set to Executing state while the batch tasks are set to Ready state, and then nothing hapens. The batch server works fine but the tasks are not executing.

I’ve tried all known options without success:
  • Recompile CIL (Ctrl +D > Build > Generate Full CIL)
  • Make sure the Server configuration form contains a valid AOS, Is batch server checked, Maximum batch threads specified, batch server group is selected (System administration > Setup > System > Server configuration)
  • Check that batch jobs (that are in the Ready state) has a valid AOS assignment (Batch jobs > View tasks > General fast tab > AOS instance name)
The root cause of my issue was the user accounts under which the batch jobs have been created: Batch job > Created by field. This account is used to run a batch task ‘on bahalf of’. I checked the users and they were enabled and with System administration role assigned (System administration > Users > Enabled field). But it appears that someone deletes some user from an Active Directory. I cleared the Enable checkbox and set it back for an User and got the following “The Active Directory user or group does not exist. Contact your network administrator” message.

So since some Users were removed from an Active Directory the batch server can’t start jobs under these users and get stuck.  

To fix the issue I’ve updated all batch users to an Admin for the BatchJob.CreatedBy, Batch.CreatedBy, BatchJobAlerts.CreatedBy fields.

 



The post Batch task can’t start (AX 2012) first appeared on Dynamics AX Training.

Источник: https://www.dynamicsaxtraining.com/k...-start-ax-2012
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
kurthatlevik: Batch Jobs; Take control of the executions Blog bot DAX Blogs 0 20.01.2020 20:13
stoneridgesoftware: Batch Processing in Dynamics AX 2012 Using SysOperation Framework Blog bot DAX Blogs 0 28.03.2017 00:11
emeadaxsupport: AX Performance - What information and data to collect when you want to open a support case Blog bot DAX Blogs 0 29.09.2015 15:11
emeadaxsupport: AX Performance Troubleshooting Checklist Part 2 Blog bot DAX Blogs 0 09.09.2014 16:11
Sample Design Patterns: Book Give-away: 'Microsoft Dynamics AX 2012 Security How-To' Blog bot DAX Blogs 0 13.12.2012 01:13
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:08.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.