Solved

Can't recreate OWA virtual directory for Exchange 2007

Posted on 2016-10-04
4
19 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 79

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 79

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 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