Link to home
Start Free TrialLog in
Avatar of Nilesh8167
Nilesh8167

asked on

OWA doesn't load properly

I am unable to access OWA correctly.  I can access the OWA webpag and login correctly except when it loads the outlook webpage it does not load correctly.  I think outlook directories are corrupted on my IIS 7.0 server.  Based on the following problem on the Experts Exchange https://www.experts-exchange.com/questions/23825609/Exchange-2007-OWA-Doesn't-Load-Properly.html?sfQueryTermInfo=1+2007+directori+exchang+ii+recreat+virtual
but I would like to confirm the solution works for me since I am running Exchange 2007 and IIS 7.0 but the solution only references using IIS 6 Resource Kit tools.  Can these tools be used on my IIS7.0 install if not how do I resolve this issues with the IIS 7.
Avatar of Exchange_Geek
Exchange_Geek
Flag of India image

Ideally, for every version of Exchange - recreating IIS Virtual directory would be pretty simple, however the issue with Exchange 2007 is that there is no MSExchangeMU and DS2MB process.

So, with IIS6.0 and IIS5.0 - you simply delete the virtual directory (using those famous KB article by MSFT) and delete DS2MB key (or to be precise deleting high watermarks key using MetaEdit 2.0 tool) and restart SA. Simple - this brings back all your default settings.

However, this does not apply with IIS 7.0 and Exchange 2007 - since there is no concept of DS2MB. So what next - well delete the IIS Virtual directories and recreate it using shell - thats the solution which works for E2k7 box.
Avatar of Nilesh8167
Nilesh8167

ASKER

Thanks Exchange_Geek,
But can you be more specific about what commands I need to enter to delete and recreate the IIS Virtual Directories.  I am new to the powershell so a bit shy about using it.
From http://support.microsoft.com/kb/941201

Step 1: Delete and then re-create the Outlook Web Access-related virtual directories
To delete the Outlook Web Access-related virtual directories, follow these steps:1. Start the Exchange Management Shell.
2. Type the following commands. Press ENTER after you type each command.
Note These commands are case-sensitive." Remove-OwaVirtualDirectory "exchange (default web site)"
" Remove-OwaVirtualDirectory "public (default web site)"
" Remove-OwaVirtualDirectory "exchweb (default web site)"
" Remove-OwaVirtualDirectory "owa (default web site)"
 
To re-create the Outlook Web Access-related virtual directories, type the following commands at the Exchange Management Shell. Press ENTER after you type each command:" New-OwaVirtualDirectory "exchange" -OwaVersion Exchange2003or2000 -VirtualDirectoryType Mailboxes -WebSiteName "Default Web Site"
" New-OwaVirtualDirectory "public" -OwaVersion Exchange2003or2000 -VirtualDirectoryType PublicFolders -WebSiteName "Default Web Site"
" New-OwaVirtualDirectory "exchweb" -OwaVersion Exchange2003or2000 -VirtualDirectoryType Exchweb -WebSiteName "Default Web Site"
" New-OwaVirtualDirectory -name "owa" -OwaVersion Exchange2007 -WebSiteName "Default Web Site"  
If this a production system, i recommand uninstalling CAS role, uninstall IIS roles. Reinstall IIS role and install CAS! That is the cleanest way to go and prevent anomalies.
That idea is already provided in the KB i mentioned.
Exchange Geek
I followed your link and got to a point where I uninstalled the Client Access Role.  But when I tried to re-install the Client Access Role, I get the following error:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
 
C:\Windows\system32>exsetup.exe /mode:install /roles:ca
 
Welcome to Microsoft Exchange Server 2007 Unattended Setup
The following server roles will be installed
    Client Access Role
 
 Specified directory C:\Program Files\Windows Small Business Server\Bin\CMPNENTS
\EXCHSRVR80 does not exist.
 
 Specified directory C:\Program Files\Windows Small Business Server\Bin\CMPNENTS
\EXCHSRVR80\Updates does not exist.
 
If I skip past this piece and try and create the OWA virtual directories I get the following error
New-OwaVirtualDirectory : Unable to Create Internet Information Services (IIS) directory entry.  Error message is: Access is denied.
. Hresult = -2147024891.
At line:1 char:24
+ New-OwaVirtualDirectory  <<<< "exchange" -VirtualDirectoryType Mailboxes -WebSiteName "Default Web Site"
So I am currently stuffed, can anyone shed some more light on whats going?
I have tried to reinstall the CA authority by going Control Panel> Add Remove Programs>Microsoft Exchange > 
in Maintenance mode I am unable to reinstall the CA authority since it is Greyed out.
" Specified directory C:\Program Files\Windows Small Business Server\Bin\CMPNENTS
\EXCHSRVR80 does not exist.
 
 Specified directory C:\Program Files\Windows Small Business Server\Bin\CMPNENTS
\EXCHSRVR80\Updates does not exist. "


Are we trying to install Exchange 2007 on SBS ????? I am sure this not supported nor recommended unless Microsoft has released special edition of Exchange 2007 for SBS platform recently.

Which of course I am not aware.
I am running SBS 2008 and that indeed includes a version of Exchange 2007.  It's just been released and as a result I am struggling to find any documentation on this.
Wow, I just read some documentation on that - I wasn't expecting this version launched this year - cool.

So, back to work..
Does this directory exists ??

C:\Program Files\Windows Small Business Server\Bin\CMPNENTS
\EXCHSRVR80
I am afraid not.  The weird thing is that it is there an option in the exchange setup screen for it but ti's greyed out.
Search for "EXCHSRVR80" in registry.
There are a few entries and I have identified the MSI it says I need, it recreated the bin files but not EXCHSVR80 directory/
How about you manually create the folder  ??
same error even though I have created them manually.
Do you mind if i have a remote session to assist you.
yes you can, I am trying to think of a way of doing this without publishing the URL, username and password  on this forum.  Can you drop me a note at fernbank74@hotmail.com
ASKER CERTIFIED SOLUTION
Avatar of Nilesh8167
Nilesh8167

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
Manually Created the folders missing, went the the SBS2008 CD2 CDROM, copied the CMPNENTS\Exchange12 on the cd (the files, not folders) to the location and it worked fine. It is the install files it is looking for..