最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

在运行Dynamics 365财务和运营的服务器上无法停止 DynamicsAxBatch 服务 /Cannot stop DynamicsAxBatch service on computer Dynamics 365 for finance and operations

网络文摘 alirazazaidi 1693浏览 0评论
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.  
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址