• Michael Intravartolo

Remove a "Dynamics NAV Web Client" (Remove-NAVWebServerInstance) Manually


You might have run into this .. trying to remove a Web Server Instance, but not finding a corresponding PowerShell commandlet for that.

As you know, there are LOADS of PowerShell commandlets for server administration. But in the list, there is not a “Remove-NAVWebServerInstance”. This list kind of prooves it:


Is it forgotten? I don’t know… I guess so ..

But I can imagine that people want to remove a NAVWebServerInstance at a given point in time.. .

Do it Manually

Not being too familiar with IIS, it just went for:

  • Deleting the reference in IIS

  • Deleting the corresponding wwwroot folder

And thought that was it.

NOT….

I forgot an important thing: removing the app. It comes down to removing the reference to your Web Server Instance in the “ApplicationHost” file, which can usually be found here: C:\Windows\System32\inetsrv\config\ . You’ll need to do that if you already removed it from IIS. If not removed from IIS? There is a trick you can do, without having to struggle through this file. That is removing the following in this particular order:

1. Remove the application in IIS:


You’ll notice that the icon before “WebClient” changes.

2. Remove the folder in IIS:


3. Remove the folder in wwwroot


#microsoftdynamicsnav

0 views
Contact Us

Solution Systems, Inc.

3201 Tollview Dr. 

Rolling Meadows, IL 60008

Office: 847-590-3000

Email: info@solsyst.com

Support: 224-345-2020

Support Email: support@solsyst.com

Connect With Us
  • Manufacturing Software | Illinois
  • Manufacturing Software | Illinois
  • Manufacturing Software | Illinois
  • Manufacturing Software | Illinois
  • Manufacturing Software | Chicago
  • Manufacturing Software | Illinois
  • Microsoft Business Podcast
  • Manufacturing Software | Chicago
  • Manufacturing Software | Chicago
  • Manufacturing Software | Chicago
Join our Mailing List

© 2020 Solution Systems, Inc.