Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 978775 - Last Review: February 2, 2010 - Revision: 1.1
You cannot remove the OWA virtual directory from IIS 7 on an Exchange Server 2007 server
Assume
that a Microsoft Exchange administrator wants to
remove or add the Outlook Web Access (OWA) virtual directory on a Microsoft
Exchange 2007 server that has the Client Access server role installed. However,
the administrator receives error messages.
When an Exchange administrator tries to remove the OWA
virtual directory, the administrator receives the following error message in
Exchange Management Shell:
Remove-OwaVirtualDirectory : The operation could not be performed because object 'Owa (Default Web Site)' could not be found on domain controller 'Sever 2008.contoso.local'.
At line:1 char:27
+ Remove-OwaVirtualDirectory <<<< -Identity "Owa (Default Web Site)" -Confirm:$false
When
an Exchange administrator tries to create a new OWA virtual directory, the
administrator receives the following error message in Exchange Management
Shell:
New-OwaVirtualDirectory : The virtual directory 'owa' already exists under 'Server2008.contoso.local/Default Web Site '.
Parameter name: VirtualDirectoryName
At line:1 char:24
+ New-OwaVirtualDirectory <<<< -WebSiteName "Default Web Site" -OwaVersion "Exchange2007" -ExternalAuthenticationMethods Fba
This
issue occurs because the original
ApplicationHost.config file is replaced with a newer version of the file
in this scenario.
To fix this problem, use one of the following methods.
Method 1
Restore the original ApplicationHost.config file by using
either Volume Shadow Copy Service (VSS) or the backup version of the
ApplicationHost.config file.
Method 2
Manually edit the existing ApplicationHost.config file. To do
this, follow these steps:
- Stop the IIS
Admin Service
and the World
Wide Web Publishing Serviceon
the Client Access server.
- Run the Notepad application as an administrator.
- Locate the ApplicationHost.config file in the %Windir%\System32\inetsrv\config\
path.
- Copy
the ApplicationHost.config file,
and then paste it into Notepad.
- Delete
the entries from the ApplicationHost.config file.
- Save the ApplicationHost.config file.
- Restart the IIS
Admin Service
and the World
Wide Web Publishing Service.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
APPLIES TO
- Microsoft Exchange Server 2007 Enterprise Edition
- Microsoft Exchange Server 2007 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please