Link to home
Start Free TrialLog in
Avatar of rbichon
rbichon

asked on

Exchange 2007: Repair/Reinstall OWA

I have Exchange Server 2007 installed and working on a Windows Server 2003 x64 server. I wanted to install PHP on that server and followed a manual setup. When I went to add the .php extension under IIS, a box poped up asking if I wanted to update other folder inside of IIS including some virtual directories for exchange. Stupidly, I told it to update those folders. Now OWA and Outlook Anywhere no longer function. I was getting a 403 error saying that the owa folder didn't have read access. I corrected that but now I get a 404 error. How do I revert back to the way it was? Or, is there a way to repair it or reinstall it? I would also be willing to fix it manually but I don't know which steps to take. HELP!!!
ASKER CERTIFIED SOLUTION
Avatar of MichaelVH
MichaelVH
Flag of Belgium image

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
Avatar of rbichon
rbichon

ASKER

I tried to run Setup.com /mode:RecoverServer /role:ClientAccess and I got an error that said the installed version is different than the running version. Do you know how to uninstall ClientAccess?
Avatar of rbichon

ASKER

Apparently, you can't use Setup.com from the bin folder for this if you have installed updates. I had to go through Add/Remove programs to uninstall Client Access and then to reinstall it. I will let you know how it goes.
SOLUTION
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
Avatar of rbichon

ASKER

I went through those steps but I still can't get Outlook Anywhere to work again. Any ideas?
Avatar of rbichon

ASKER

I looked in the properties for RpcWithCert under IIS and found that all of the authentication methods were unchecked. After I checked off Basic authentication and set the Default domain, outlook anywhere started working for our remote machines again.
Avatar of rbichon

ASKER

I awarded both of you points because it was a combination of both of your answers that solved my problem.
I'll buy a certifocate from a trusted authoriy soon - but in the mean time, I'm just using the servers IP and accepting the certifocate error.

I have tried removing and re-creating the virtual directories (followng instructions from MS site) as follows -

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:
Start the Exchange Management Shell.
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"

But, this has a negitige impact as I can no longer oprn OWA from the remote web work place!  When I do, the OWA page opens but does not display correctly (loads of red X boxes on the page) so I can't read mail.



To restart the owa virtual directories without reinstalling IIS and Exchange server, read http://support.microsoft.com/kb/883380