Tuesday, December 2, 2014

How to Kill a NAV Application Server Windows Service

You may have many experiences where you were in need of killing a NAV Application Server or NAV Service Tier Windows Service which has been stuck at stopping. Basically, you may  have wanted to get this done without needing to reboot a server in the middle of the day.
Here’s what you need to do:
Step 1. Find out the Service Name
To do this, go in to services and double click on the service which has stuck.  Make a note of the “Service Name”.
Step 2. Find out the PID of the service
Open an elevated command prompt and type in:
sc queryex servicename

Make note of the PID
Step 3. Kill the PID
From the same command prompt type in:
taskkill /f /pid [PID]


Be careful of what you are killing though.  If you kill a critical windows service you may end up forcing the machine to reboot on it own.

Business Central SaaS Extension Design: Implementing Plant Tracking with AL Event Subscribers

  Extending Business Central SaaS: Plant Tracking Using AL Extensions  1️⃣ Problem Statement In many manufacturing and service-oriented or...