CBM Corporate
asked on
Cannot recreate OWA virtual directory
HI all,
I have this SBS2011 with Exchange2010 with a missing OWA virtual directory. It simply isn't there.
In EMC, under Server Configuration\Client Access, the Outlook Web App is blank.
If I click on "Reset Virtual Directory" I cannot see OWA.
Using the shell, I get the following errors :
[PS] C:\Windows\system32>New-Ow aVirtualDi rectory -InternalUrl 'https://SERVER/owa' -WebSiteName 'Default Web Site'
Creating a new session for implicit remoting of "New-OwaVirtualDirectory" command...
An error occurred while creating the IIS virtual directory 'IIS://SERVER.xxxx.local/W 3SVC/1/ROO T/owa' on 'SERVER'.
+ CategoryInfo : InvalidOperation: (SERVER\owa (Default Web Site):ADObjectId) [New-OwaVirtualDirectory], InvalidOperationException
+ FullyQualifiedErrorId : BAA4CBDB,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Ne wOwaVirtua lDirectory
[PS] C:\Windows\system32> New-OwaVirtualDirectory -name "owa" -WebSiteName "Default Web Site" -internalURL https://mail.xxxxx.com.au/owa -ExternalURL https://mail.xxxxx.com.au/owa
An error occurred while creating the IIS virtual directory 'IIS://SERVER.xxxxx.local/ W3SVC/1/RO OT/owa' on 'SERVER'.
+ CategoryInfo : InvalidOperation: (SERVER\owa (Default Web Site):ADObjectId) [New-OwaVirtualDirectory], InvalidOperationException
+ FullyQualifiedErrorId : BAA4CBDB,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Ne wOwaVirtua lDirectory
[PS] C:\Windows\system32>Get-Ow aVirtualDi rectory -Identity 'SERVER\Owa (Default Web Site)'
The operation couldn't be performed because object 'SERVER\Owa (Default Web Site)' couldn't be found on 'SERVER.xxxxx.local'.
+ CategoryInfo : NotSpecified: (:) [Get-OwaVirtualDirectory], ManagementObjectNotFoundEx ception
+ FullyQualifiedErrorId : 4D879422,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Ge tOwaVirtua lDirectory
Under IIS, in \Default Web Site I cannot see OWA
Under ADSIEdit, in CN=HTTP,CN=Protocols,CN=SE RVER,CN=Se rvers,CN=E xchange Administrative Group (FYDIBOHF23SPDLT),CN=Admin istrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Co nfiguratio n,DC=xxxxx ,DC=local there is no OWA either.
Under IIS Metabase Explorer, under LM\W3SVC\1\ROOT there is no OWA either.
I just about ran out of commands I can throw at this server, anyone can help please ?
Thanks,
Brice.
I have this SBS2011 with Exchange2010 with a missing OWA virtual directory. It simply isn't there.
In EMC, under Server Configuration\Client Access, the Outlook Web App is blank.
If I click on "Reset Virtual Directory" I cannot see OWA.
Using the shell, I get the following errors :
[PS] C:\Windows\system32>New-Ow
Creating a new session for implicit remoting of "New-OwaVirtualDirectory" command...
An error occurred while creating the IIS virtual directory 'IIS://SERVER.xxxx.local/W
+ CategoryInfo : InvalidOperation: (SERVER\owa (Default Web Site):ADObjectId) [New-OwaVirtualDirectory],
+ FullyQualifiedErrorId : BAA4CBDB,Microsoft.Exchang
[PS] C:\Windows\system32> New-OwaVirtualDirectory -name "owa" -WebSiteName "Default Web Site" -internalURL https://mail.xxxxx.com.au/owa -ExternalURL https://mail.xxxxx.com.au/owa
An error occurred while creating the IIS virtual directory 'IIS://SERVER.xxxxx.local/
+ CategoryInfo : InvalidOperation: (SERVER\owa (Default Web Site):ADObjectId) [New-OwaVirtualDirectory],
+ FullyQualifiedErrorId : BAA4CBDB,Microsoft.Exchang
[PS] C:\Windows\system32>Get-Ow
The operation couldn't be performed because object 'SERVER\Owa (Default Web Site)' couldn't be found on 'SERVER.xxxxx.local'.
+ CategoryInfo : NotSpecified: (:) [Get-OwaVirtualDirectory],
+ FullyQualifiedErrorId : 4D879422,Microsoft.Exchang
Under IIS, in \Default Web Site I cannot see OWA
Under ADSIEdit, in CN=HTTP,CN=Protocols,CN=SE
Under IIS Metabase Explorer, under LM\W3SVC\1\ROOT there is no OWA either.
I just about ran out of commands I can throw at this server, anyone can help please ?
Thanks,
Brice.
ASKER
Mmh reinstalling the CAS role is what I was trying to avoid. No other way ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yeah doe that too, then an IISreset, then tried again the New-OwaVirtualDirectory again, no luck. Error message isn't very helpful as to what is missing. I really don't want to re-install the CAS role,. there's gotta be a way to "clean" the metadata then rebuild the VD.
ASKER
Finally !
I basically followed this one http://blogs.dirteam.com/blogs/davestork/archive/2010/12/23/fixing-a-broken-owa-2010-virtual-directory.aspx
- Recreate the AppPool in IIS
- Recreate the Application in IIS
- Recreate the object in ADSI Edit
- IISReset
- in EMC, reset the Virtual Directory
Tadaa :)
Thanks everyone for trying.
I basically followed this one http://blogs.dirteam.com/blogs/davestork/archive/2010/12/23/fixing-a-broken-owa-2010-virtual-directory.aspx
- Recreate the AppPool in IIS
- Recreate the Application in IIS
- Recreate the object in ADSI Edit
- IISReset
- in EMC, reset the Virtual Directory
Tadaa :)
Thanks everyone for trying.
Glad to know it is fixed and thanks for posting the solution
Goto Control panel--> Click exchange2010-->Click Remove
Click next and untick "Client Access..." --> Click next.
Once finished restart the server
Insert the Exchange2010 DVD
Start setup tick the "Client access.." and install again and see what happens