Solved

Can't recreate OWA virtual directory for Exchange 2007

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

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 78

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Distribution Group 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 Recipients >>…
how to add IIS SMTP to handle application/Scanner relays into office 365.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now