# Could not establish connection to IIS server. Invalid namespace

**URL:** https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513
**Category:** Discussion
**Created:** [June 28, 2010, 10:10am UTC](https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513 "2010-06-28T10:10:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nickd](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/898d66/32.png) [@nickd](https://www.finalbuilder.com/forums/u/nickd)
#### Post date: [June 28, 2010, 10:10am UTC](https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513/1 "2010-06-28T10:10:05Z")

</div>

&nbsp;I'm evaluating FB at the moment and I cannot get the IIS tasks to work.

I'm running on 64bit Windows 7 with IIS 7.5 and when I add an application pool task I cannot connect to IIS to obtain the list of application pools and when I manually enter an app. pool name and try to run the task I get the error:&nbsp;Could not establish connection to IIS server. Invalid namespace&nbsp;

I've tried leaving everything blank and entering host name an credentials, but neither work.

&nbsp;

Any ideas?

&nbsp;

Nick

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [June 28, 2010, 11:25am UTC](https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513/2 "2010-06-28T11:25:26Z")

</div>

Hi Nick,   
  
 Can you check and make sure you have the ‘IIS Management Scripts and Tools’ option installed on the machine (Control Panel -\> Programs and Features -\> Turn Windows features on or off).   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![nickd](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/898d66/32.png) [@nickd](https://www.finalbuilder.com/forums/u/nickd)
#### Post date: [July 2, 2010, 9:57am UTC](https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513/3 "2010-07-02T09:57:36Z")

</div>

They were not installed, but installing them just changed the error at runtime to

> Could not ‘Stop’ the application pool. Provider load failure

---

<div class="post-metadata">

### Author: ![nickd](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/898d66/32.png) [@nickd](https://www.finalbuilder.com/forums/u/nickd)
#### Post date: [July 2, 2010, 10:04am UTC](https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513/4 "2010-07-02T10:04:38Z")

</div>

&nbsp;OK. I can run the task if I run FB as administrator, but I still can't connect to get the list of Application Pools when editing the task.

I really don't want to run FB as administrator, can you suggest any workaround?

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [July 4, 2010, 10:31am UTC](https://www.finalbuilder.com/forums/t/could-not-establish-connection-to-iis-server-invalid-namespace/1513/5 "2010-07-04T10:31:49Z")

</div>

Hi Nick,   
  
 \> I really don’t want to run FB as administrator, can you suggest any workaround?   
  
 Sorry Nick, we can not workaround this as it’s a security feature of Windows.   
  
 \> but I still can’t connect to get the list of Application Pools when editing the task.   
  
 Does this still occur when running as administrator? What is the error message that you receive?   
  
 Regards,   
 Paul.
