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>.<mydomai n>.local/W 3SVC/1/ROO T/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.Exchang e.Manageme nt.SystemC onfigurati onTasks.Ne wOwaVirtua lDirectory
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\ad sutil.vbs SET /w3svc/AppPools/Enable32Bi tAppOnWin6 4 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.
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>.<mydomai
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.Exchang
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\ad
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to know you fixed it.
ASKER
no one else offered suggestions and i found my own fix