Показать сообщение отдельно
Старый 23.02.2019, 10:15   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Регистрация: 28.10.2006
alirazazaidi: Cannot stop DynamicsAxBatch service on computer Dynamics 365 for finance and operations
Источник: https://www.tech.alirazazaidi.com/ca...nd-operations/
==============

I still like the Idea shared by “Gary Vaynerchuk ” Post ” Document dont create” So I document what I face today and resolved.



Today I am facing Project compilation Error in Visual studio output pane, I am struggling to understand Table control, so I can meet the development of my next assignment.  Error ws






Severity        Code        Description        Project        File        Line        Suppression State

Error                One or more errors occurred. —> System.InvalidOperationException: Cannot stop DynamicsAxBatch service on computer ‘.’. —> System.ComponentModel.Win32Exception: The service cannot accept control messages at this time

— End of inner exception stack trace —

at System.ServiceProcess.ServiceController.Stop()



When I open Services, I found that DynamicsAXBatch services is in stopping mode and stuck.


So I killed the service process with CMD command. “taskkill /f /pid [pid number]”

The message already shows the service name. ” DynamicsAXBatch” You can copy it from Service detail dialog.



So Open CMD with run as administrator and run the following command and get  pid


sc queryex DynamicsAxBatch





Now I have IP.



And kill the Process Id


taskkill /f /pid 5352





Now I start the service again.

Project is successfully complied.





Источник: https://www.tech.alirazazaidi.com/ca...nd-operations/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.