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?
jaelaeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jaelaeAuthor Commented:
Resolved this.  I simply removed RPC over HTTP as a feature and it worked.  Hurray!
0
ATIGCommented:
Here is a good article I wrote that can assit you in the future
http://exchange-genie.blogspot.com/2008/02/configuring-outlook-anywhere-for.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jaelaeAuthor Commented:
Used exchange-genie documentation to resolve this article.
0
afreundCommented:
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

http://www.exchange-help.com/index.php?option=com_content&view=article&id=77:rpchttpproxyreinstall&catid=36:exchange2007&Itemid=53

this worked like a charm for me
0
NimbusMarkCommented:
Accepted answer link now Dead
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

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.