• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2710
  • Last Modified:

Can't recreate Outlook Anywhere setup after deleting RPC in IIS7

I was having issues with Outlook Anywhere not working, so I decided to run the script again to recreate the app in IIS7.  I am running Exchange 2007 in Server 2008 (64bit) with IIS 7.  What I did was run Enable-OutlookAnywhere with the proper details and it gave me the error:

Enable-OutlookAnywhere : The virtual directory 'Rpc' already exists under 'servername/Default Web Site'.
Parameter name: VirtualDirectoryName
At line:1 char:23
+ Enable-OutlookAnywhere  <<<< -Server:servername -ExternalHostName:mail.website.com

So I probably made a mistake and simply deleted RPC from IIS7 but it still says it already exists.

How do I completely remove this virtual directory?
1 Solution
jaelaeAuthor Commented:
Resolved this.  I simply removed RPC over HTTP as a feature and it worked.  Hurray!
Here is a good article I wrote that can assit you in the future
jaelaeAuthor Commented:
Used exchange-genie documentation to resolve this article.
Here is the right way of reinstalling RPC for an SBS 2008 server.
The key is the order and a registry key that you jave to setup before installing RPC over HTTP


this worked like a charm for me
Accepted answer link now Dead
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now