"404 – File or directory not found" error message when you log off Outlook Web Access in Exchange Server 2003


Assume that Microsoft Exchange Server 2010 and Microsoft Exchange Server 2003 coexist in an environment. In this situation, you receive the following error message when you log off Outlook Web Access in Exchange Server 2003:
404 – File or directory not found.

The resource you are looking for might have been removed, had its name changed, or it temporarily unavailable.


This problem occurs because Internet Information Services (IIS) configures the SetHostName property unexpectedly.


To resolve this problem, remove the SetHostName property. To do this, follow these steps:
  1. In the Exchange 2003 Front-End server, click Start, click All Programs, click Accessories, and then click Command Prompt.
  2. Run the following command to change the directory to the folder in which the Adsutil.vbs tool is installed. 
    CD %systemdrive%\Inetpub\AdminScripts
    Note By default, theAdsutil.vbs tool is installed in the following location:
  3. Run the following command to remove the SetHostName property:
    cscript adsutil.vbs delete w3svc/1/SetHostName
  4. Run the following command to determine whether the SetHostName property is removed:
    cscript adsutil.vbs get w3svc/1/SetHostName
    Note If the SetHostName property is removed, you receive the following message:
    The parameter 'sethostname' is not set at this node

More Information

For more information about the SetHostName property, click the following article number to view the article in the Microsoft Knowledge Base:
834141 FIX: IP address is revealed in the content-location field in the TCP header in IIS 6.0

ID do Artigo: 2748254 - Última Revisão: 10/09/2012 - Revisão: 1