Link to home
Start Free TrialLog in
Avatar of OllarConsulting
OllarConsulting

asked on

Can't recreate OWA virtual directory for Exchange 2007

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.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

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?
ASKER CERTIFIED SOLUTION
Avatar of OllarConsulting
OllarConsulting

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glad to know you fixed it.
Avatar of OllarConsulting
OllarConsulting

ASKER

no one else offered suggestions and i found my own fix