Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Recreating IIS virtual directories for OWA, OMA and Exchange ActiveSync
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Recreating IIS virtual directories for OWA, OMA and Exchange ActiveSync


Serdar Yegulalp
01.25.2007
Rating: --- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Exchange Server 2003 uses virtual directories in Internet Information Services (IIS) for a number of Microsoft Exchange services -- mainly, Outlook Web Access (OWA), Outlook Mobile Access (OMA) and Exchange ActiveSync:

  • Exadmin
  • Exchange
  • ExchWeb
  • Microsoft-Server-ActiveSync
  • OMA
  • Public

IIS virtual directories can get damaged or changed inappropriately. For instance, an inexperienced Exchange Server administrator may try changing them directly in the IIS administration console, when they actually must be changed in Exchange System Manager.

IIS virtual directories are not recreated automatically if they are damaged, so you need to know how to recreate them. They can be remade in a "semi-automatic" way, but Exchange Server has to be specifically commanded to do so; it doesn't "sense" that the directories are damaged or missing.

Microsoft Knowledge Base article 883380 walks through three possible ways to recreate IIS virtual directories for Outlook Web Access, Outlook Mobile Access and Exchange ActiveSync:

  1. Use the Metabase Explorer utility (available as part of the IIS 6 Resource Kit Tools) to remove the metabase entries for the IIS virtual directories. If you don't already have the Metabase Explorer installed or don't know how to use it, this is probably not the best way to go.

  2. Use the ADSUTIL.VBS script. This is probably the easiest method, because you can simply delete the IIS virtual directories from IIS Manager, use the script to purge the metabase (rather than trying to do that by hand), and then have Exchange Server recreate the directories. It's pretty foolproof, since you only need to know how to use the IIS Manager and run a .VBS script from a command line.

  3. Edit the Metabase.xml file by hand. This is probably the most dangerous and difficult way to do it, and is recommended only for experts who really know what they're doing.

In some cases the directories may take up to 15 minutes to automatically recreate; if that doesn't happen, the Exchange server and IIS server machines should both be restarted (IIS first, then Exchange Server).

About the author: Serdar Yegulalp is editor of Windows Insight, a newsletter devoted to hints, tips, tricks, news and goodies for all flavors of Windows users.

Do you have comments on this tip? Let us know.

Related information from SearchExchange.com:

  • Step-by-Step Guide: How to repair Exchange-related IIS virtual directories
  • Tip: Disappearing OWA and Exchange Server virtual directory settings
  • Tip: Forms-based authentication errors with OMA and ActiveSync
  • Tip: Exchange Server diagnostics -- digging into IIS logs
  • Reference Center: Exchange Server mobile and wireless administration tips

    Please let others know how useful this tip was via the rating scale below. Do you have a useful Exchange Server or Microsoft Outlook tip, timesaver or workaround to share? Submit it to SearchExchange.com. If we publish it, we'll send you a nifty thank-you gift.

    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


    RELATED CONTENT
    Mobile Devices
    Configure a mobile device to receive POP3 email from Exchange Server
    Email sent to a PDA doesn't get saved in Exchange Server mailbox
    Synchronizing Apple iPhone email with Microsoft Exchange Server
    Use the free Windows Mobile emulator to test mobility on Exchange
    Using ActiveSync without a front-end Exchange server
    Why Exchange ActiveSync fails with NAT firewalls
    Is it time to upgrade users' Windows Mobile devices?
    Deploying ISA Server as a firewall for Exchange Server mobile devices
    Adjust your firewall to avoid Exchange 2007 Direct Push failures
    How to solve common ActiveSync error messages

    Outlook Web Access
    Customizing an Outlook Web Access 2003 email signature
    Outlook Web Access limitations using Exchange Server public folders
    OWA won't load after applying Exchange 2007 SP1 security patch
    Minimize remote and mobile Outlook Web Access (OWA) security risks
    How to improve Outlook Web Access (OWA) security
    Alleviate Outlook Web Access (OWA) email attachment security issues
    Customizing Outlook Web Access (OWA) in Exchange Server 2007
    Fix OWA message size limit issue after Exchange 2007 SP1 upgrade
    How to customize OWA authentication logon in Exchange Server 2003
    Top 10 Microsoft Outlook and Outlook Web Access tips of 2007

    Internet Information Services (IIS) and Exchange Server Interoperability
    Automated redirects to OWA directories may fail when SSL is enforced
    Monitoring Outlook Web Access usage via IIS log files
    Exchange Server and Microsoft Internet Information Services (IIS)
    IIS 6 file corruption flaw impairs OWA
    Symantec Mail Security for Microsoft Exchange crashes IIS
    Outlook Web Access only displays parent directories
    Exchange Server domain name changes -- don't forget about IIS
    Forms-based authentication errors with OMA and ActiveSync
    Disappearing OWA and Exchange virtual directory settings
    Step-by-Step Guide: How to repair Exchange-related IIS virtual directories
    Internet Information Services (IIS) and Exchange Server Interoperability Research

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

  • HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts