?
Solved

Can't recreate OWA virtual directory for Exchange 2007

Posted on 2016-10-04
4
Medium Priority
?
39 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 82

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 82

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
This video discusses moving either the default database or any database to a new volume.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

770 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