Solved

Can't recreate OWA virtual directory for Exchange 2007

Posted on 2016-10-04
4
20 Views
Last Modified: 2016-10-09
Details:  
Windows 2003 64-bit
Exchange 2007 single server install


The OWA virtual directory is fried for our Exchange 2007 install, so I have removed it and am attempting to recreate it with this command:

New-OWAVirtualDirectory -OWAVersion "Exchange2007" -Name "owa (Default Web Site)"

That command fails with this error:

New-OwaVirtualDirectory : An error occurred while creating the IIS virtual directory 'IIS://<myserver>.<mydomain>.local/W3SVC/1/ROOT/owa' on '<myserver>'.
At line:1 char:24
+ New-OWAVirtualDirectory <<<<  -OWAVersion "Exchange2007" -Name "owa (Default Web Site)"
    + CategoryInfo          : InvalidOperation: (<myserver>\owa (Default Web Site):ADObjectId) [New-OwaVirtualDirectory] InvalidOperationException
    + FullyQualifiedErrorId : AA7EA23E,Microsoft.Exchange.Management.SystemConfigurationTasks.NewOwaVirtualDirectory

Nearly every post I find regarding this error indicates that IIS is not in 64-bit mode and to run this command:

cscript c:\inetpub\adminscripts\adsutil.vbs SET /w3svc/AppPools/Enable32BitAppOnWin64 False

I run the command, then run iisreset, and then try to re-create the OWA directory again and it still fails with the same error.

I have run the metabase explorer to make sure owa is cleaned up there ( it is gone ) and adsiedit ( it is also gone from there ).

Any help would be GREATLY appreciated.
0
Comment
Question by:OllarConsulting
  • 2
  • 2
4 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 41828597
You do realize that WS2K3 has reached end of life and E2K7 SP3 will reach EOL in about a year. Are you at SP3 for Exchange?
0
 

Accepted Solution

by:
OllarConsulting earned 0 total points
ID: 41828635
I resolved the issue on my own.

I found that the AppPools were all failing to load the ISAPI filter for .Net 4 and this was causing a domino effect.

To fix the issue:
I repaired the .Net installation
I verified OWA was gone from IIS, meta database, and AD
Then I re-ran the set-owavirtualdirectory
0
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 41828641
Glad to know you fixed it.
0
 

Author Closing Comment

by:OllarConsulting
ID: 41835724
no one else offered suggestions and i found my own fix
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
how to add IIS SMTP to handle application/Scanner relays into office 365.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question