Recreate Virtual IIS directories
This post comes via Ray and Damian at Microsoft, via Les!
Sometimes, things just get so screwed up that you want to re-create the virtual directories. I know the feeling. Thanks to Ray Fong and Damian Leibaschoff (both MS) for previous posts, here is how to do it.
In IIS, expand Default Web site and remove the following virtual directories:
- EXCHANGE
- EXCHWEB
- PUBLIC
- OMA
- EXADMIN
- (Do not remove EXCHANGE-OMA)
Then, enable real time editing of the metabase in IIS admin, for this:
1. Open properties on the server object.
2. Check the box 'Enable direct metabase edit'
3. After this, open windows explorer and navigate to the following directory: windows\system32\inetsrv
4. Edit metabase.xml (make a backup first) with notepad and navigate to the following section: /LM/DS2MB/HighWaterMarks
5. Set the Value="207778" to zero or delete it. This value will be located in a string value like the following (The value may be different):
/LM/DS2MB/HighWaterMarks/{79F81D41-A652-4375-85F0-41A16037CC85} >
<Custom
Name="UnknownName_61472"
ID="61472"
Value="207778" <----- Set this to "0"
Type="STRING"
UserType="IIS_MD_UT_SERVER"
Attributes="NO_ATTRIBUTES"
6. Alternatively, you can use Metaedit to make these changes.
7. Save the file.
8. Run IISRESET and then re-start the MsExchangeSA service.
The deleted virtual directories should get re-created after a few minutes from the information that Exchange keeps in Active Directory.
--
Les Connor [SBS Community Member]
-------------------------------------
SBS Rocks !