# Invalid Namespace when stopping IIS on remote server

**URL:** https://www.finalbuilder.com/forums/t/invalid-namespace-when-stopping-iis-on-remote-server/1843
**Category:** Discussion
**Created:** [August 31, 2011, 5:14am UTC](https://www.finalbuilder.com/forums/t/invalid-namespace-when-stopping-iis-on-remote-server/1843 "2011-08-31T05:14:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 31, 2011, 5:14am UTC](https://www.finalbuilder.com/forums/t/invalid-namespace-when-stopping-iis-on-remote-server/1843/1 "2011-08-31T05:14:04Z")

</div>

I have confirmed the following:

- IIS Management Scripts and Tools are installed on both the server I'm running final builder on and the target IIS Server
- The account I'm using is an administrator on the web server

Other info:

- Both servers are Windows Server 2008 R2
- We are running IIS 7. 

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [September 1, 2011, 2:16am UTC](https://www.finalbuilder.com/forums/t/invalid-namespace-when-stopping-iis-on-remote-server/1843/2 "2011-09-01T02:16:51Z")

</div>

Hi Glenn   
  
 I just tried this on my machine, and got the same error. After installing the IIS Management Scripts and Tools and restarting FinalBuilder it worked fine. The only suggestion I have is to restart your server. Also, make sure you are using the IIS7 specific actions(there are different actions for IIS6 & 7).

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 1, 2011, 5:03am UTC](https://www.finalbuilder.com/forums/t/invalid-namespace-when-stopping-iis-on-remote-server/1843/3 "2011-09-01T05:03:07Z")

</div>

Doh! I had the IIS 6 options! Thanks!
