ITT: Restoring Outlook Web Access (OWA) (Solved)

Ever had one of those days .. where you accidentily delete your Default Website in ISS, and all the exchange stuff along with it?  :D

Have no fear, MS KB is here!

http://support.microsoft.com/?ID=280823

a. Download and install the IIS 6.0 Resource Kit Tools. To obtain the IIS 6.0 Resource Kit Tools, visit the following Microsoft Web site:
If you do not want to install all the IIS 6.0 Resource Kit Tools, click the Custom installation option to install only Metabase Explorer 1.6.
b. Start IIS Manager.
c. Back up the metabase. To do this, right-click Default Web Site, click All Tasks, and then click Save Configuration to a File. Type a filename for the file and click OK.
d. Expand Default Web Site, and then delete the following virtual directories:
Microsoft-Server-ActiveSync
OMA
Exadmin
Exchange
Public
ExchWeb
e. Start Metabase Explorer. To do this, click Start, point to All Programs, point to IIS Resources, point to Metabase Explorer, and then click Metabase Explorer.
f. Expand the LM key, right-click the DS2MB key, and then click Delete.
g. Close Metabase Explorer.
h. Restart the Microsoft Exchange System Attendant service to re-create the virtual directories in IIS.

Note If the virtual directories are not re-created after 15 minutes, restart the server.
i. In IIS Manager, expand Default Web Site, right-click Exchweb, and then click Properties.
j. Click the Directory Security tab, and then click Edit under Authentication and access control.
k. Verify that only the Enable anonymous access check box is selected.
l. Right-click Default Web Site, and then click Stop.
m. Right-click Default Web Site, and then click Start.

Now that is a straight copy paste from the KB Article. However.. I immediately had to wonder how the System Attendant service knew what my default website is.. or was. How does IIS flag the ‘ default website’  ?

A rummage though the IIS metabase basicly shows that under the W3SVC node, the site with ID 1, is the Dafult Website. I made a new site, which got a unique identifier, and just renamed it to 1 in the metabase. 5 minutes later the System Attendent service had rebuild my Exchange virtual folders! Woohoo!

Iis_metabase

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Print | posted on Thursday, December 09, 2004 12:34 AM

Feedback

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Joe at 5/3/2005 8:17 PM Gravatar
Dude, thank you for this! The one KB article MS had that I saw on this was lacking huge amounts of detail, maybe I didnt see the one you are referring to but it doesnt matter now, I appreciate you posting this, got my OWA back up in like 3 minutes.

You rule!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Josh at 5/11/2005 6:39 AM Gravatar
WOW. You rock. I made the mistake of moving the Default pages around and it hosed my IIS OWA. After 5 days of Google and MS Tech notes I stumbled on your site.

THANK YOU!!!!!!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by E.G. at 6/10/2005 10:17 AM Gravatar
greate work, thx

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by M.C. at 9/26/2005 2:07 PM Gravatar
THANK YOU FROM THE WORKER WHO DELETED THE DEFAULT WEB SITE.

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Rob at 10/10/2005 3:48 AM Gravatar
You F#!$ing ROCK!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Another guy who deleted the defa at 2/1/2006 3:54 PM Gravatar
You rock. Ive killed myself for 3 days looking for a solution. I found the Microsoft KB article but it dident work. Missing information, I had to fix the ID for my default and everything is cool.

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Mo Alem at 4/3/2006 3:55 AM Gravatar
I was wondering how I could restore the default website, not just the Exchange subdirectories. Any tips?

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Kat at 4/5/2006 6:42 PM Gravatar
Awesome Rob, nice quick and easy fix for a problem that was driving me crazy :)

Thanks!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Matt at 5/27/2006 8:29 PM Gravatar
Fantastic Info - Thanks!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Jon at 9/15/2006 8:21 PM Gravatar
I'm still getting HTTP/1.1 401 Unauthorized when I try to access my Exchange virtual directory...

website.com/Exchange

etc...

I get propmted for the username and password but it never takes it. It gives me three tries and then fails.

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Stephen at 12/23/2006 5:59 PM Gravatar
I am still getting the same thing that Jon is getting. What else do I need to look for? I am on the same subnet as my back-end exchange server.

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Martin Ridd at 1/30/2008 7:02 AM Gravatar
This is EXACTLY what I was looking for!! - THANK YOU! - I've just waiting for the default sites to come back; but by the sound of it, it should only be a few more minutes!!....

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Martin Ridd at 1/30/2008 9:12 AM Gravatar
YUP! It worked [although I had to go back and use the .XML method (3) in the KB article], but wouldn't have found it without you! :D Cheers!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by amy at 2/12/2008 11:05 AM Gravatar
hi,

i have a different kind of problem. internally i cannot access my http://mail.domain.com/exchange but external working fine provided i put the url in the IE secure site.

previously, we change the static ip due to ISP changes switchboard. but after pointing to the new ip and set the reverse dns, still having the same problem.

i have seek high and low for this problem but normally forum will have problem like this the other way around; access internal ok, external failed. Mine is different, external ok, internal failed.

please help!!

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Rob at 8/13/2008 2:29 AM Gravatar
Thanks worked perfectly, shhhhhooooooooooo

# re: ITT: Restoring Outlook Web Access (OWA) (Solved)

left by Merin Nakarmi at 6/29/2011 7:57 PM Gravatar
Thank your very much Robert.
* * * * *
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: